mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-06 08:47: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
37ff1d6957
commit
363b2e3ebb
1 file changed
+1
-1
@@ -311,7 +311,7 @@ For feed-like interfaces, implement infinite scroll using TanStack Query's `useI
|
|||||||
import { useNostr } from '@nostrify/react';
|
import { useNostr } from '@nostrify/react';
|
||||||
import { useInfiniteQuery } from '@tanstack/react-query';
|
import { useInfiniteQuery } from '@tanstack/react-query';
|
||||||
|
|
||||||
function useInfinitePosts() {
|
export function useGlobalFeed() {
|
||||||
const { nostr } = useNostr();
|
const { nostr } = useNostr();
|
||||||
|
|
||||||
return useInfiniteQuery({
|
return useInfiniteQuery({
|
||||||
|
|||||||
Reference in new issue
Block a user