From 204f2d89d79189f3fca03799e220e9c6be16864e Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Thu, 9 May 2024 14:08:29 +0200 Subject: [PATCH] Fix closure warning --- src/routes/timer/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/timer/+page.svelte b/src/routes/timer/+page.svelte index 461d0e8..965aec5 100644 --- a/src/routes/timer/+page.svelte +++ b/src/routes/timer/+page.svelte @@ -28,7 +28,7 @@ let timerState = $state("Ready") let timeLeftDisplay = $state("") - let timeLeft = $state(BREAK_INTERVAL_STORE) + let timeLeft = $state(0) $effect(() => { BREAK_INTERVAL = BREAK_INTERVAL_STORE * 60 * 1000