remove extra console.log call

This commit is contained in:
D. Scott Boggs 2023-06-25 15:26:53 -04:00
parent 7f2e12e913
commit e25301655b

View file

@ -26,14 +26,12 @@ export const state = reactive({
source.addEventListener("open", () => console.debug("opened event source"))
source.addEventListener('message', event => console.log(event))
source.addEventListener('TickAdded', event => {
console.log(event)
const tick: Tick = Tick.fromJSON(JSON.parse(event.data))
const tracks = this.tracks.map(track => {
if (track.id === tick.track_id) {
const ticks = track.ticks ?? []
ticks.push(tick)
track.ticks = ticks
}
return track
})