From bbf3c187c4967509a8097b168533786daacc2ec6 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 21 May 2018 11:17:31 +0200 Subject: rpc --- app/client/live/reducer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/client/live/reducer.js') 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: { -- cgit v1.2.3-70-g09d2