diff --git a/docs/src/docs/hooks/use-intersection.mdx b/docs/src/docs/hooks/use-intersection.mdx index 8bce1b97cd0..0e8c481e1d2 100644 --- a/docs/src/docs/hooks/use-intersection.mdx +++ b/docs/src/docs/hooks/use-intersection.mdx @@ -38,7 +38,7 @@ See [Intersection Observer API](https://developer.mozilla.org/en-US/docs/Web/API On the first render (as well as during SSR), or when no element is being observed, the entry is `null`. ```tsx -const [ref, ioEntry] = useIntersection(); +const { ref, entry } = useIntersection(); // With regular element:
Observed