mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix off by one with new SWR cursor generation
This commit is contained in:
parent
45a604732b
commit
c130c5309a
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ export function useGetLibraryItemsQuery(
|
|||
]
|
||||
},
|
||||
(args: any[]) => {
|
||||
const pageIndex = args[4] as number
|
||||
const pageIndex = args[3] as number
|
||||
return gqlFetcher(query, { ...variables, after: pageIndex }, true)
|
||||
},
|
||||
{ revalidateFirstPage: false }
|
||||
|
|
|
|||
Loading…
Reference in a new issue