This commit is contained in:
Duarte Santos committed 2026-08-30 13:30:38 +02:00
commit 67871fe66d
19 files changed
+86 -3

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import { useUI } from '../store/useUI.js'
// A new key restarts the CSS sequence even when two timers finish close together.
// The layer never catches taps and ends transparent, so it can safely stay mounted.
export default function TimerFlash() {
const id = useUI(s => s.timerFlashId)
return id ? <div key={id} className="timer-flash" aria-hidden="true" /> : null
}