From 4de8aa3237b148ebd51d14905a63072d2f348f5e Mon Sep 17 00:00:00 2001 From: schlaus Date: Sun, 8 Feb 2026 14:47:10 +0000 Subject: [PATCH] Fix TypeScript type for animation ref --- src/components/ConstellationWidget.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ConstellationWidget.tsx b/src/components/ConstellationWidget.tsx index 9f35ba5..e5e9534 100644 --- a/src/components/ConstellationWidget.tsx +++ b/src/components/ConstellationWidget.tsx @@ -14,7 +14,7 @@ export function ConstellationWidget() { const [mousePos, setMousePos] = useState({ x: 0, y: 0 }); const [isHovering, setIsHovering] = useState(false); const particlesRef = useRef([]); - const animationRef = useRef(); + const animationRef = useRef(undefined); const colors = [ '#60A5FA', // blue-400