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