From 9feec768588a001df7041c701d86a3ae98a55ce9 Mon Sep 17 00:00:00 2001 From: arc-alex Date: Wed, 2 Apr 2025 11:40:31 +0200 Subject: [PATCH] remove comments --- apps/server/src/stores/runtimeState.ts | 3 --- packages/types/src/definitions/runtime/RuntimeStore.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/server/src/stores/runtimeState.ts b/apps/server/src/stores/runtimeState.ts index 9d342ed73..289cabc3b 100644 --- a/apps/server/src/stores/runtimeState.ts +++ b/apps/server/src/stores/runtimeState.ts @@ -182,10 +182,7 @@ export function load( rundown: OntimeRundown, initialData?: Partial, ): boolean { - // we need to persist the current block state across loads - // const prevCurrentBlock = { ...runtimeState.currentBlock }; softClear(); - // runtimeState.currentBlock = prevCurrentBlock; // filter rundown const timedEvents = filterTimedEvents(rundown); diff --git a/packages/types/src/definitions/runtime/RuntimeStore.ts b/packages/types/src/definitions/runtime/RuntimeStore.ts index 1180405c9..47f32a1d0 100644 --- a/packages/types/src/definitions/runtime/RuntimeStore.ts +++ b/packages/types/src/definitions/runtime/RuntimeStore.ts @@ -4,7 +4,7 @@ import { OffsetMode } from './Runtime.type.js'; import type { RuntimeStore } from './RuntimeStore.type.js'; import { TimerPhase } from './TimerState.type.js'; -export const runtimeStorePlaceholder: RuntimeStore = { +export const runtimeStorePlaceholder: Readonly = { clock: 0, timer: { addedTime: 0,