From 5b4911ac503a36b9181c843a2cf870a8281d19ac Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Sun, 29 Mar 2020 16:39:07 +0100 Subject: [PATCH] Fix Typo --- src/broadcast/state.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/broadcast/state.ts b/src/broadcast/state.ts index 6e57b1c..6c838f1 100644 --- a/src/broadcast/state.ts +++ b/src/broadcast/state.ts @@ -46,8 +46,8 @@ export const { toggleTracklisting } = broadcastState.actions; export const tracklistStart = (player: number, trackid: number): AppThunk =>async (dispatch, getState) => { if (getState().broadcast.tracklisting) { console.log("Attempting to tracklist: " + trackid); - var tracklistitemid = (await sendTracklistStart(trackid)).audiologid; - dispatch(MixerState.setTracklistItemID(player, tracklistitemid)) + var id = (await sendTracklistStart(trackid)).audiologid; + dispatch(MixerState.setTracklistItemID({player, id})) } };