Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Alex Gleason <alex@alexgleason.me>
This commit is contained in:
Chad Curtis 2025-09-01 21:25:34 +00:00
parent b2cc0aef79
commit 9114c7db86

View File

@ -341,7 +341,7 @@ Example usage with intersection observer for automatic loading:
import { useInView } from 'react-intersection-observer'; import { useInView } from 'react-intersection-observer';
function GlobalFeed() { function GlobalFeed() {
const { data, fetchNextPage, hasNextPage, isFetchingNextPage } = useInfinitePosts(); const { data, fetchNextPage, hasNextPage, isFetchingNextPage } = useGlobalFeed();
const { ref, inView } = useInView(); const { ref, inView } = useInView();
useEffect(() => { useEffect(() => {