diff --git a/invokeai/frontend/web/src/features/gallery/components/ImageGalleryContent.tsx b/invokeai/frontend/web/src/features/gallery/components/ImageGalleryContent.tsx index a5fc653913..0050b6e170 100644 --- a/invokeai/frontend/web/src/features/gallery/components/ImageGalleryContent.tsx +++ b/invokeai/frontend/web/src/features/gallery/components/ImageGalleryContent.tsx @@ -185,11 +185,12 @@ const ImageGalleryContent = () => { useEffect(() => { dispatch( receivedPageOfImages({ - categories: ['general'], + categories, is_intermediate: false, }) ); - }, [dispatch]); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); const handleClickImagesCategory = useCallback(() => { dispatch(imageCategoriesChanged(IMAGE_CATEGORIES));