diff --git a/frontend/src/ts/states/live-stats.ts b/frontend/src/ts/states/live-stats.ts index 37c218889a0b..2bf65106f1ed 100644 --- a/frontend/src/ts/states/live-stats.ts +++ b/frontend/src/ts/states/live-stats.ts @@ -13,6 +13,7 @@ import { getFocus, isResultCalculating, isTestActive, + isTestRestarting, } from "./test"; /** Whether this test counts down a time limit rather than a number of words. */ @@ -105,6 +106,7 @@ export const getLiveBurstText = createMemo(() => /** Countdown / word counter shown by the timer displays. */ export const getTimerText = createMemo(() => { + isTestRestarting(); if (isTimeLimitedTest()) { const limit = getTestTimeLimit(); const seconds = currentLiveStats.seconds ?? 0;