Remove stale time on infinite query
This commit is contained in:
@ -233,7 +233,6 @@ export function useGetLibraryItems(
|
|||||||
},
|
},
|
||||||
enabled,
|
enabled,
|
||||||
initialPageParam: '0',
|
initialPageParam: '0',
|
||||||
staleTime: 60 * 1000,
|
|
||||||
getNextPageParam: (lastPage: LibraryItems) => {
|
getNextPageParam: (lastPage: LibraryItems) => {
|
||||||
console.log(
|
console.log(
|
||||||
'lastPage.pageInfo.hasNextPage: ',
|
'lastPage.pageInfo.hasNextPage: ',
|
||||||
|
|||||||
Reference in New Issue
Block a user