mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Set maxPages to 2, dont disable refetch yet
This commit is contained in:
parent
f58ddbeb9a
commit
48f427401f
1 changed files with 1 additions and 2 deletions
|
|
@ -232,8 +232,7 @@ export function useGetLibraryItems(
|
|||
return response.search
|
||||
},
|
||||
enabled,
|
||||
maxPages: 3,
|
||||
refetchOnMount: false,
|
||||
maxPages: 2,
|
||||
initialPageParam: '0',
|
||||
getNextPageParam: (lastPage: LibraryItems) => {
|
||||
return lastPage.pageInfo.hasNextPage
|
||||
|
|
|
|||
Loading…
Reference in a new issue