More debugging

This commit is contained in:
Jackson Harper 2024-08-19 14:08:25 +08:00
parent 45c7a57696
commit 8f480d654a

View file

@ -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