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
dddeb7fc61
commit
2baccf1ea0
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user