1
0
Fork 0
forked from TWS/kalkutago

remove extra console.log call

This commit is contained in:
D. Scott Boggs 2023-06-25 15:26:53 -04:00
parent 75d9bab34d
commit 4277d663d0

View file

@ -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 ?? []