From 35dba1381c19b4770e0adb08f48bbc1b62260312 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 28 Oct 2022 20:50:10 +1100 Subject: [PATCH] Fixes bug with infinite redux action loop --- frontend/src/features/gallery/ImageGallery.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/features/gallery/ImageGallery.tsx b/frontend/src/features/gallery/ImageGallery.tsx index 078df0b685..a8a305f154 100644 --- a/frontend/src/features/gallery/ImageGallery.tsx +++ b/frontend/src/features/gallery/ImageGallery.tsx @@ -125,7 +125,6 @@ export default function ImageGallery() { ); if (!shouldHoldGalleryOpen) { dispatch(setShouldHoldGalleryOpen(false)); - setCloseGalleryTimer(); } dispatch(setShouldShowGallery(false)); };