diff --git a/AGENTS.md b/AGENTS.md index 9b82f6d..4104325 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -341,7 +341,7 @@ Example usage with intersection observer for automatic loading: import { useInView } from 'react-intersection-observer'; function GlobalFeed() { - const { data, fetchNextPage, hasNextPage, isFetchingNextPage } = useInfinitePosts(); + const { data, fetchNextPage, hasNextPage, isFetchingNextPage } = useGlobalFeed(); const { ref, inView } = useInView(); useEffect(() => {