diff --git a/apps/server/src/stores/runtimeState.ts b/apps/server/src/stores/runtimeState.ts index bd748a3f9..5604756f2 100644 --- a/apps/server/src/stores/runtimeState.ts +++ b/apps/server/src/stores/runtimeState.ts @@ -495,7 +495,7 @@ export function update(): UpdateResult { // eslint-disable-next-line no-unused-labels -- dev code path DEV: { - if (!runtimeState.timer.duration) { + if (runtimeState.timer.duration === null) { throw new Error('runtimeState.update: invalid state received'); } }