refactor: remove trivially inferred numEvents

This commit is contained in:
Carlos Valente
2025-05-19 22:09:28 +02:00
committed by Carlos Valente
parent 2f13d6c89e
commit 4ab9c81cb8
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,
};
}