mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 16:33:36 +00:00
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Alex Gleason <[email protected]>
This commit is contained in:
1 parent
363b2e3ebb
commit
b2cc0aef79
1 file changed
+1
-1
@@ -340,7 +340,7 @@ Example usage with intersection observer for automatic loading:
|
|||||||
```tsx
|
```tsx
|
||||||
import { useInView } from 'react-intersection-observer';
|
import { useInView } from 'react-intersection-observer';
|
||||||
|
|
||||||
function PostFeed() {
|
function GlobalFeed() {
|
||||||
const { data, fetchNextPage, hasNextPage, isFetchingNextPage } = useInfinitePosts();
|
const { data, fetchNextPage, hasNextPage, isFetchingNextPage } = useInfinitePosts();
|
||||||
const { ref, inView } = useInView();
|
const { ref, inView } = useInView();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user