mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-06 00:37:23 +00:00
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Alex Gleason <[email protected]>
This commit is contained in:
1 parent
b2cc0aef79
commit
9114c7db86
1 file changed
+1
-1
@@ -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(() => {
|
||||||
|
|||||||
Reference in new issue
Block a user