From 0f076e19becd41b4cfe7b15f0a28055d2e7b6a45 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Wed, 19 Jun 2024 14:38:54 +0530 Subject: [PATCH] Reset --- web/apps/photos/src/pages/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/apps/photos/src/pages/index.tsx b/web/apps/photos/src/pages/index.tsx index 26a4e64b3d..b532d2262b 100644 --- a/web/apps/photos/src/pages/index.tsx +++ b/web/apps/photos/src/pages/index.tsx @@ -161,7 +161,10 @@ const Container: React.FC = ({ children }) => { const handleClick = () => { setTapCount(tapCount + 1); - if (tapCount + 1 == 7) setShowDevSettings(true); + if (tapCount + 1 == 7) { + setTapCount(0); + setShowDevSettings(true); + } }; return (