chore: upgrade to react 19

This commit is contained in:
wonfen
2025-05-14 10:47:33 +08:00
parent d1a2bd78d7
commit 1993e5dd51
7 changed files with 1245 additions and 1233 deletions

View File

@@ -117,7 +117,7 @@ const LetterItem = memo(
top: 0,
right: 0,
});
const hoverTimeoutRef = useRef<ReturnType<typeof setTimeout>>();
const hoverTimeoutRef = useRef<ReturnType<typeof setTimeout>>(undefined);
const updateTooltipPosition = useCallback(() => {
if (!letterRef.current) return;