mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
More debugging
This commit is contained in:
parent
45c7a57696
commit
8f480d654a
1 changed files with 4 additions and 0 deletions
|
|
@ -276,6 +276,10 @@ export function useGetLibraryItems(
|
|||
includeContent: false,
|
||||
})) as LibraryItemsData
|
||||
|
||||
console.log(
|
||||
'cached.pageParams.indexOf(pageParam)',
|
||||
cached.pageParams.indexOf(pageParam)
|
||||
)
|
||||
if (cached && cached.pageParams.indexOf(pageParam) > -1) {
|
||||
const idx = cached.pageParams.indexOf(pageParam)
|
||||
// // if there is a cache, check to see if the page is already in it
|
||||
|
|
|
|||
Loading…
Reference in a new issue