diff --git a/fe/src/pages/root/hooks/useScrollAnimation.ts b/fe/src/pages/root/hooks/useScrollAnimation.ts index 31a7233..2e85d86 100644 --- a/fe/src/pages/root/hooks/useScrollAnimation.ts +++ b/fe/src/pages/root/hooks/useScrollAnimation.ts @@ -30,5 +30,5 @@ export const useScrollAnimation = ( return () => { unsubscribe(); }; - }, [containerRef.current, scrollYProgress]); + }, [containerRef, scrollYProgress]); }; diff --git a/fe/tsconfig.json b/fe/tsconfig.json index 773129a..ac188db 100644 --- a/fe/tsconfig.json +++ b/fe/tsconfig.json @@ -25,7 +25,7 @@ "types": [ "vite/client", "node", - "vitest/globals", + // "vitest/globals", ], "declaration": true, "typeRoots": [