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
cf64f2ca83
commit
dddeb7fc61
1 file changed
+1
-1
@@ -324,7 +324,7 @@ function useInfinitePosts() {
|
|||||||
signal: AbortSignal.any([signal, AbortSignal.timeout(1500)])
|
signal: AbortSignal.any([signal, AbortSignal.timeout(1500)])
|
||||||
});
|
});
|
||||||
|
|
||||||
return events.sort((a, b) => b.created_at - a.created_at);
|
return events;
|
||||||
},
|
},
|
||||||
getNextPageParam: (lastPage) => {
|
getNextPageParam: (lastPage) => {
|
||||||
if (lastPage.length === 0) return undefined;
|
if (lastPage.length === 0) return undefined;
|
||||||
|
|||||||
Reference in new issue
Block a user