mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add a staleTime to library items query
This commit is contained in:
parent
39da8e60c1
commit
5373f16328
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ export function useGetLibraryItems(
|
|||
},
|
||||
enabled,
|
||||
initialPageParam: '0',
|
||||
// maxPages: 3,
|
||||
staleTime: 5 * 60 * 1000,
|
||||
getNextPageParam: (lastPage: LibraryItems) => {
|
||||
console.log(
|
||||
'lastPage.pageInfo.hasNextPage: ',
|
||||
|
|
|
|||
Loading…
Reference in a new issue