From f022d79cac9b9e3b7a0c1406ae424328335f2c0a Mon Sep 17 00:00:00 2001 From: olzzon Date: Sun, 5 May 2019 21:24:01 +0200 Subject: [PATCH] Fix: refered to props store instead of windows store --- src/utils/OscMixerConnection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/OscMixerConnection.js b/src/utils/OscMixerConnection.js index 09616e8b..6f38a3a7 100644 --- a/src/utils/OscMixerConnection.js +++ b/src/utils/OscMixerConnection.js @@ -69,7 +69,7 @@ export class OscMixerConnection { level: message.args[0] }); if (!this.store.channels[0].channel[ch - 1].pgmOn) { - this.props.dispatch({ + window.storeRedux.dispatch({ type:'TOGGLE_PGM', channel: ch - 1 });