Skip to content

Commit

Permalink
Merge pull request #388 from hearchco/as/fix/timer-query-change
Browse files Browse the repository at this point in the history
fix(timer): stop beeping on query change
  • Loading branch information
aleksasiriski authored Jul 18, 2024
2 parents 868bc80 + 958fa64 commit d8b5b5a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/components/gadgets/timer/main.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
const [initHours, initMinutes, initSeconds] = timeFromTimery(query);
let beeping = $state(false);
$effect(() => {
if (query) {
}
beeping = false;
});
/** @type {HTMLElement | null} */
let timerNumbersContainer = $state(null);
Expand Down

0 comments on commit d8b5b5a

Please sign in to comment.