diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 11:17:31 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 11:17:31 +0200 |
| commit | bbf3c187c4967509a8097b168533786daacc2ec6 (patch) | |
| tree | 0c877269ef2d71078b930a9a328f28ddfc6b65c6 /app/client/live/reducer.js | |
| parent | b4afdf88ae53d8d20ff2aaf94e3ab3e9a882c654 (diff) | |
rpc
Diffstat (limited to 'app/client/live/reducer.js')
| -rw-r--r-- | app/client/live/reducer.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/client/live/reducer.js b/app/client/live/reducer.js index 9d41c6f..09a00b5 100644 --- a/app/client/live/reducer.js +++ b/app/client/live/reducer.js @@ -8,9 +8,9 @@ const liveInitialState = { const liveReducer = (state = liveInitialState, action) => { let results; - + console.log(action.type) switch(action.type) { - case 'LIVE_LOAD_OPT_FROM_SERVER': + case 'LOAD_PARAMS': return { ...state, loading: false, @@ -18,7 +18,7 @@ const liveReducer = (state = liveInitialState, action) => { opt: action.opt, } - case 'LIVE_SET_OPT': + case 'SET_PARAM': return { ...state, opt: { |
