From 4277d663d0d0afa2108ffd6ac585d30a91036885 Mon Sep 17 00:00:00 2001 From: "D. Scott Boggs" Date: Sun, 25 Jun 2023 15:26:53 -0400 Subject: [PATCH] remove extra console.log call --- client/src/state.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/src/state.ts b/client/src/state.ts index 1b3506b..a972820 100644 --- a/client/src/state.ts +++ b/client/src/state.ts @@ -25,8 +25,12 @@ export const state = reactive({ source.addEventListener("open", () => console.debug("opened event source")) source.addEventListener('message', event => console.log(event)) source.addEventListener('TickAdded', event => { +<<<<<<< Updated upstream console.log(event) const tick: Tick = JSON.parse(event.data) +======= + const tick: Tick = Tick.fromJSON(JSON.parse(event.data)) +>>>>>>> Stashed changes const tracks = this.tracks.map(track => { if (track.id === tick.track_id) { const ticks = track.ticks ?? []