diff --git a/packages/web/components/templates/library/LibraryContainer.tsx b/packages/web/components/templates/library/LibraryContainer.tsx index 5c1d1a12a..2aaa5adf9 100644 --- a/packages/web/components/templates/library/LibraryContainer.tsx +++ b/packages/web/components/templates/library/LibraryContainer.tsx @@ -675,18 +675,11 @@ export function LibraryContainer(props: LibraryContainerProps): JSX.Element { activeCardId ? [...ACTIVE_ACTIONS, ...UNACTIVE_ACTIONS] : UNACTIVE_ACTIONS, [activeCardId, activeItem] ) - useFetchMore( - () => { - if (!isFetching && !isLoading && hasNextPage) { - fetchNextPage() - } - }, - () => { - if (!isFetching && !isLoading && hasPreviousPage) { - fetchPreviousPage() - } + useFetchMore(() => { + if (!isFetching && !isLoading && hasNextPage) { + fetchNextPage() } - ) + }) const setIsChecked = useCallback( (itemId: string, set: boolean) => {