Browse Source

Fix lint

main
Dan Abramov 2 years ago
parent
commit
b6983c3f52
  1. 2
      beta/src/content/apis/react/useEffect.md

2
beta/src/content/apis/react/useEffect.md

@ -716,7 +716,7 @@ export function useIntersectionObserver(ref) {
return () => {
observer.disconnect();
}
}, []);
}, [ref]);
return isIntersecting;
}

Loading…
Cancel
Save