From 9a9a0eb7cfd33547dadb7a4bdd7ef96360d4e6b7 Mon Sep 17 00:00:00 2001 From: Carlos Valente Date: Fri, 7 Jun 2024 20:59:51 +0200 Subject: [PATCH] refactor: use timer phase while waiting --- .../features/control/playback/playback-timer/PlaybackTimer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/features/control/playback/playback-timer/PlaybackTimer.tsx b/apps/client/src/features/control/playback/playback-timer/PlaybackTimer.tsx index c3949eaf0..e58a3db0f 100644 --- a/apps/client/src/features/control/playback/playback-timer/PlaybackTimer.tsx +++ b/apps/client/src/features/control/playback/playback-timer/PlaybackTimer.tsx @@ -43,7 +43,7 @@ export default function PlaybackTimer(props: PropsWithChildren 0 && timer.current === null; + const isWaiting = timer.phase === TimerPhase.Pending; const isOvertime = timer.phase === TimerPhase.Overtime; const hasAddedTime = Boolean(timer.addedTime);