Skip to content

Commit

Permalink
fix: wrong constant for store dispath (used SOCKET instead of reducer)
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon authored and olzzon committed Jun 10, 2020
1 parent 71509ac commit 0cdb455
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 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 @@ -427,7 +428,7 @@ export class MainThreadHandlers {
String(payload.selected)
)
store.dispatch({
type: SOCKET_SET_INPUT_SELECTOR,
type: SET_INPUT_SELECTOR,
channel: payload.faderIndex,
selected: parseFloat(payload.selected),
})
Expand Down

0 comments on commit 0cdb455

Please sign in to comment.