mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
load images for whichever tab youre on
This commit is contained in:
parent
6399055f7f
commit
84645495a9
@ -185,11 +185,12 @@ const ImageGalleryContent = () => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
dispatch(
|
dispatch(
|
||||||
receivedPageOfImages({
|
receivedPageOfImages({
|
||||||
categories: ['general'],
|
categories,
|
||||||
is_intermediate: false,
|
is_intermediate: false,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}, [dispatch]);
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
}, []);
|
||||||
|
|
||||||
const handleClickImagesCategory = useCallback(() => {
|
const handleClickImagesCategory = useCallback(() => {
|
||||||
dispatch(imageCategoriesChanged(IMAGE_CATEGORIES));
|
dispatch(imageCategoriesChanged(IMAGE_CATEGORIES));
|
||||||
|
Loading…
Reference in New Issue
Block a user