refactor: remove trivially inferred numEvents

This commit is contained in:
Carlos Valente
2025-05-19 22:09:28 +02:00
committed by arc-alex
parent 2f26f20db5
commit 2546159a94
11 changed files with 5 additions and 20 deletions
@@ -90,7 +90,6 @@ export function createBlock(patch?: Partial<OntimeBlock>): OntimeBlock {
endTime: null,
duration: 0,
isFirstLinked: false,
numEvents: patch.events?.length ?? 0,
};
}