From dbb115d072a94caedfd3b01f76b879aed8a0c209 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Mon, 26 Aug 2024 16:03:05 +0800 Subject: [PATCH] Remove some unneeded debug --- .../components/templates/library/LibraryContainer.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/web/components/templates/library/LibraryContainer.tsx b/packages/web/components/templates/library/LibraryContainer.tsx index c83bf254d..506402cd5 100644 --- a/packages/web/components/templates/library/LibraryContainer.tsx +++ b/packages/web/components/templates/library/LibraryContainer.tsx @@ -119,16 +119,10 @@ export function LibraryContainer(props: LibraryContainerProps): JSX.Element { isFetchingNextPage, isFetching, fetchNextPage, - fetchPreviousPage, hasNextPage, - status, error: fetchItemsError, } = useGetLibraryItems(props.folder ?? 'home', props.folder, queryInputs) - console.log( - `status ${status}, isLoading: ${isLoading}, isFetching: ${isFetching}` - ) - useEffect(() => { if (queryValue.startsWith('#')) { debouncedFetchSearchResults( @@ -163,7 +157,6 @@ export function LibraryContainer(props: LibraryContainerProps): JSX.Element { }, [router.asPath]) const libraryItems = useMemo(() => { - console.log('library items: ', itemsPages) const items = itemsPages?.pages .flatMap((ad: LibraryItems) => { @@ -1027,8 +1020,6 @@ export function LibraryItemsLayout( isSessionStorage: false, }) - console.log('props.isValidating: ', props.isValidating) - return ( <>