Remove some unneeded debug
This commit is contained in:
@ -119,16 +119,10 @@ export function LibraryContainer(props: LibraryContainerProps): JSX.Element {
|
|||||||
isFetchingNextPage,
|
isFetchingNextPage,
|
||||||
isFetching,
|
isFetching,
|
||||||
fetchNextPage,
|
fetchNextPage,
|
||||||
fetchPreviousPage,
|
|
||||||
hasNextPage,
|
hasNextPage,
|
||||||
status,
|
|
||||||
error: fetchItemsError,
|
error: fetchItemsError,
|
||||||
} = useGetLibraryItems(props.folder ?? 'home', props.folder, queryInputs)
|
} = useGetLibraryItems(props.folder ?? 'home', props.folder, queryInputs)
|
||||||
|
|
||||||
console.log(
|
|
||||||
`status ${status}, isLoading: ${isLoading}, isFetching: ${isFetching}`
|
|
||||||
)
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (queryValue.startsWith('#')) {
|
if (queryValue.startsWith('#')) {
|
||||||
debouncedFetchSearchResults(
|
debouncedFetchSearchResults(
|
||||||
@ -163,7 +157,6 @@ export function LibraryContainer(props: LibraryContainerProps): JSX.Element {
|
|||||||
}, [router.asPath])
|
}, [router.asPath])
|
||||||
|
|
||||||
const libraryItems = useMemo(() => {
|
const libraryItems = useMemo(() => {
|
||||||
console.log('library items: ', itemsPages)
|
|
||||||
const items =
|
const items =
|
||||||
itemsPages?.pages
|
itemsPages?.pages
|
||||||
.flatMap((ad: LibraryItems) => {
|
.flatMap((ad: LibraryItems) => {
|
||||||
@ -1027,8 +1020,6 @@ export function LibraryItemsLayout(
|
|||||||
isSessionStorage: false,
|
isSessionStorage: false,
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log('props.isValidating: ', props.isValidating)
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<VStack
|
<VStack
|
||||||
|
|||||||
Reference in New Issue
Block a user