Merge branch 'master' of github.com:kamranahmedse/developer-roadmap into feat/roadcards

feat/roadcards
Kamran Ahmed 1 year ago
commit b3256099e7
  1. 7
      src/components/HeroSection/FavoriteRoadmaps.tsx

@ -56,7 +56,7 @@ export function FavoriteRoadmaps() {
setTimeout(() => {
setContainerOpacity(100);
}, 50);
}, 300);
}, 0);
}
async function loadProgress() {
@ -71,13 +71,16 @@ export function FavoriteRoadmaps() {
}
setProgress(progressList);
setIsLoading(false);
showProgressContainer();
// render progress on featured items
renderProgress(progressList);
}
useEffect(() => {
loadProgress().finally(() => {
setIsLoading(false);
showProgressContainer();
});
}, []);

Loading…
Cancel
Save