Fixes bug with infinite redux action loop

This commit is contained in:
psychedelicious 2022-10-28 20:50:10 +11:00
parent 631dce3aca
commit 35dba1381c

View File

@ -125,7 +125,6 @@ export default function ImageGallery() {
); );
if (!shouldHoldGalleryOpen) { if (!shouldHoldGalleryOpen) {
dispatch(setShouldHoldGalleryOpen(false)); dispatch(setShouldHoldGalleryOpen(false));
setCloseGalleryTimer();
} }
dispatch(setShouldShowGallery(false)); dispatch(setShouldShowGallery(false));
}; };