This commit is contained in:
sebastien 2024-12-06 19:00:12 +01:00
parent c2c20de559
commit 06781f024e

View file

@ -100,7 +100,7 @@ function Link(
const IOSupported = ExecutionEnvironment.canUseIntersectionObserver;
const ioRef = useRef<IntersectionObserver>();
const ioRef = useRef<IntersectionObserver>(undefined);
const handleRef = (el: HTMLAnchorElement | null) => {
innerRef.current = el;