mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2025-09-23 17:56:07 +00:00
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Alex Gleason <alex@alexgleason.me>
This commit is contained in:
parent
b2cc0aef79
commit
9114c7db86
@ -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(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user