upgrade js dependencies (react 19)

This commit is contained in:
henrygd
2025-08-22 14:39:48 -04:00
parent bbebb3e301
commit bbd9595ec0
6 changed files with 33 additions and 31 deletions

View File

@@ -84,7 +84,7 @@ export function useIntersectionObserver({
entry: undefined,
}))
const callbackRef = useRef<UseIntersectionObserverOptions["onChange"]>()
const callbackRef = useRef<UseIntersectionObserverOptions["onChange"]>(undefined)
callbackRef.current = onChange