Fixes bug with infinite redux action loop

This commit is contained in:
psychedelicious 2022-10-28 20:50:10 +11:00
parent 62898b0f8f
commit 2c9747fd41

View File

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