mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Fix lint
This commit is contained in:
@@ -716,7 +716,7 @@ export function useIntersectionObserver(ref) {
|
||||
return () => {
|
||||
observer.disconnect();
|
||||
}
|
||||
}, []);
|
||||
}, [ref]);
|
||||
|
||||
return isIntersecting;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user