Fix: correctly identify if the screen is focused when handling soft resets on post feeds (#2100)
This commit is contained in:
parent
3c8036587e
commit
826b841e10
4 changed files with 26 additions and 13 deletions
|
@ -98,7 +98,7 @@ export function usePostFeedQuery(
|
|||
staleTime: STALE.INFINITY,
|
||||
queryKey: RQKEY(feedDesc, params),
|
||||
async queryFn({pageParam}: {pageParam: RQPageParam}) {
|
||||
logger.debug('usePostFeedQuery', {feedDesc, pageParam})
|
||||
logger.debug('usePostFeedQuery', {feedDesc, cursor: pageParam?.cursor})
|
||||
|
||||
const {api, cursor} = pageParam
|
||||
? pageParam
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue