diff options
Diffstat (limited to 'app/client/live')
| -rw-r--r-- | app/client/live/reducer.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/client/live/reducer.js b/app/client/live/reducer.js index f774d3e..df227e4 100644 --- a/app/client/live/reducer.js +++ b/app/client/live/reducer.js @@ -7,6 +7,7 @@ const liveInitialState = { checkpoints: [], checkpoint_dir: ['latest'], sequences: [], + fps: 0, } const liveReducer = (state = liveInitialState, action) => { @@ -54,6 +55,12 @@ const liveReducer = (state = liveInitialState, action) => { sequences: action.sequences, } + case 'SET_FPS': + return { + ...state, + fps: action.fps, + } + default: return state } |
