fix: prevent mutation of initial object

This commit is contained in:
Carlos Valente
2024-05-09 22:25:38 +02:00
committed by Carlos Valente
parent 5977266332
commit 6f80de58ca
2 changed files with 9 additions and 10 deletions
@@ -80,6 +80,8 @@ export function generate(
links = {};
firstStart = null;
lastEnd = null;
totalDuration = 0;
totalDelay = 0;
let accumulatedDelay = 0;
let daySpan = 0;