From 1b1d3ac09545fc73aad05c23281e8c900f67de40 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 19 Feb 2026 08:36:41 +0000 Subject: [PATCH] Hide stats panel when clearing data via reset button The stats panel stayed visible after clicking Reset because showStats was not reset to false. This adds setShowStats(false) in handleClearAll. https://claude.ai/code/session_013AfZeyMDVfsDqKPbKeNE9h --- src/App.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App.tsx b/src/App.tsx index 54c01fa..b0a9239 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -176,6 +176,7 @@ function App() { ) ) { setVisits([]); + setShowStats(false); clearVisits(); } };