refactor: show timer clock in preview

This commit is contained in:
Carlos Valente
2024-11-07 21:32:33 +01:00
committed by Carlos Valente
parent f574fdbc02
commit fb6896de76
@@ -27,6 +27,7 @@ export default function TimerPreview() {
if (phase === TimerPhase.Pending) return 'Standby to start';
if (phase === TimerPhase.Overtime && data.endMessage) return 'Custom end message';
if (timerType === TimerType.TimeToEnd) return 'Time to end';
if (timerType === TimerType.Clock) return 'Clock';
if (timerType === TimerType.None) return timerPlaceholder;
return 'Timer';
})();