From 85ba9fd49e1764bfcfb1eae22a7bbab964281e64 Mon Sep 17 00:00:00 2001 From: Nate Sesti <33237525+sestinj@users.noreply.github.com> Date: Sat, 19 Jul 2025 22:55:25 -0700 Subject: [PATCH] Update src/ui/Timer.tsx Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --- src/ui/Timer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/Timer.tsx b/src/ui/Timer.tsx index 33f540cea..32fc2e090 100644 --- a/src/ui/Timer.tsx +++ b/src/ui/Timer.tsx @@ -14,7 +14,7 @@ const Timer: React.FC = ({ startTime, color = "gray" }) => { const now = Date.now(); const elapsedSeconds = Math.floor((now - startTime) / 1000); setElapsed(elapsedSeconds); - }, 100); // Update every 100ms for smooth display + }, 1000); // Update every 1000ms for efficient display return () => clearInterval(interval); }, [startTime]);