mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-18 03:06:16 +01:00
upgrade js dependencies (react 19)
This commit is contained in:
@@ -84,7 +84,7 @@ export function useIntersectionObserver({
|
||||
entry: undefined,
|
||||
}))
|
||||
|
||||
const callbackRef = useRef<UseIntersectionObserverOptions["onChange"]>()
|
||||
const callbackRef = useRef<UseIntersectionObserverOptions["onChange"]>(undefined)
|
||||
|
||||
callbackRef.current = onChange
|
||||
|
||||
|
||||
Reference in New Issue
Block a user