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
dddeb7fc61
commit
2baccf1ea0
1 file changed
+1
-1
@@ -315,7 +315,7 @@ function useInfinitePosts() {
|
|||||||
const { nostr } = useNostr();
|
const { nostr } = useNostr();
|
||||||
|
|
||||||
return useInfiniteQuery({
|
return useInfiniteQuery({
|
||||||
queryKey: ['posts', 'infinite'],
|
queryKey: ['global-feed'],
|
||||||
queryFn: async ({ pageParam, signal }) => {
|
queryFn: async ({ pageParam, signal }) => {
|
||||||
const filter = { kinds: [1], limit: 20 };
|
const filter = { kinds: [1], limit: 20 };
|
||||||
if (pageParam) filter.until = pageParam;
|
if (pageParam) filter.until = pageParam;
|
||||||
|
|||||||
Reference in new issue
Block a user