From caac4935ef863bb656bc5304f638d8bb69540bf6 Mon Sep 17 00:00:00 2001 From: Yaki Date: Fri, 2 Feb 2024 19:00:17 -0800 Subject: [PATCH] Fix background color issue in ProjectCard component --- src/components/ProjectCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();