Fix TypeScript type for animation ref
Some checks failed
Build and Deploy to Production / build-and-deploy (push) Has been cancelled

This commit is contained in:
schlaus
2026-02-08 14:47:10 +00:00
parent 58b01331ad
commit 4de8aa3237

View File

@@ -14,7 +14,7 @@ export function ConstellationWidget() {
const [mousePos, setMousePos] = useState({ x: 0, y: 0 });
const [isHovering, setIsHovering] = useState(false);
const particlesRef = useRef<Particle[]>([]);
const animationRef = useRef<number>();
const animationRef = useRef<number | undefined>(undefined);
const colors = [
'#60A5FA', // blue-400