Skip to content

Commit

Permalink
fix: correct mutation type
Browse files Browse the repository at this point in the history
  • Loading branch information
Balte de Wit committed Jun 10, 2020
1 parent fa54eb4 commit 0de941d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/MainThreadHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ import {
SET_FADER_DELAY_TIME,
SHOW_IN_MINI_MONITOR,
SET_INPUT_GAIN,
SET_INPUT_SELECTOR,
} from './reducers/faderActions'
import { SET_FADER_LEVEL } from './reducers/faderActions'
import { SET_ASSIGNED_FADER, SET_AUX_LEVEL } from './reducers/channelActions'
Expand Down Expand Up @@ -426,8 +427,9 @@ export class MainThreadHandlers {
' Selected : ' +
String(payload.selected)
)
console.log(payload)
store.dispatch({
type: SOCKET_SET_INPUT_SELECTOR,
type: SET_INPUT_SELECTOR,
channel: payload.faderIndex,
selected: parseFloat(payload.selected),
})
Expand Down

0 comments on commit 0de941d

Please sign in to comment.