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) {
dispatch(setShouldHoldGalleryOpen(false));
setCloseGalleryTimer();
}
dispatch(setShouldShowGallery(false));
};