diff --git a/src/components/ProjectCard.tsx b/src/components/ProjectCard.tsx index 384e72d..32799cc 100644 --- a/src/components/ProjectCard.tsx +++ b/src/components/ProjectCard.tsx @@ -133,7 +133,7 @@ const ProjectCard = (props: ProjectCardProps) => { htmlElement.style.backgroundColor = ''; } }); - }, []); + }, [mini]); useEffect(() => { loadAggregateStaked();