From 49a860cf76c37c67981ed0915b24c4db6ca6c2cd Mon Sep 17 00:00:00 2001 From: unrenamed Date: Fri, 15 Nov 2024 15:44:46 +0200 Subject: [PATCH] fix: add missing dependency to sniny-card component --- apps/www/components/shiny-card.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/www/components/shiny-card.tsx b/apps/www/components/shiny-card.tsx index b7c883077..93f4bd152 100644 --- a/apps/www/components/shiny-card.tsx +++ b/apps/www/components/shiny-card.tsx @@ -60,7 +60,7 @@ export const ShinyCardGroup: React.FC = ({ }); } } - }, [mousePosition.x, mousePosition.y]); + }, [boxes, mousePosition.x, mousePosition.y]); useEffect(() => { onMouseMove();