Beep boop (#2051)
This commit is contained in:
parent
76a3c66f54
commit
28f8999252
1 changed files with 7 additions and 4 deletions
|
@ -127,10 +127,13 @@ export function usePostFeedQuery(
|
|||
}
|
||||
},
|
||||
initialPageParam: undefined,
|
||||
getNextPageParam: lastPage => ({
|
||||
api: lastPage.api,
|
||||
cursor: lastPage.cursor,
|
||||
}),
|
||||
getNextPageParam: lastPage =>
|
||||
lastPage.cursor
|
||||
? {
|
||||
api: lastPage.api,
|
||||
cursor: lastPage.cursor,
|
||||
}
|
||||
: undefined,
|
||||
select: useCallback(
|
||||
(data: InfiniteData<FeedPageUnselected, RQPageParam>) => {
|
||||
const tuner = params?.disableTuner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue