mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use the outer query value in gqlFetcher call
The inner query value never changes, so no need to worry with type casting this here, it will always be a string.
This commit is contained in:
parent
51b3fb4545
commit
1557136e81
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ export function useGetLibraryItemsQuery({
|
|||
: previousResult.articles.pageInfo.endCursor,
|
||||
]
|
||||
},
|
||||
(query, _l, _s, _sq, cursor: string) => {
|
||||
(_query, _l, _s, _sq, cursor: string) => {
|
||||
return gqlFetcher(query, { ...variables, after: cursor }, true)
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue