diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-01-28 19:11:00 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-01-28 19:11:00 +0100 |
commit | 7dd214d57c7dab9626abef1516a862f46c1e02bd (patch) | |
tree | 9fb9c0060d0e595550a064caa4efb4289d2b7eb8 /src/client/react/reducers | |
parent | 9f438225db07b7214e4a41d133634309cba80073 (diff) |
Refactor View.js
Diffstat (limited to 'src/client/react/reducers')
-rw-r--r-- | src/client/react/reducers/view.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/react/reducers/view.js b/src/client/react/reducers/view.js index 603f1d4..301a1cf 100644 --- a/src/client/react/reducers/view.js +++ b/src/client/react/reducers/view.js @@ -3,12 +3,12 @@ const schedule = (state = {}, action) => { case 'VIEW/FETCH_SCHEDULE_REQUEST': return { ...state, - state: 'fetching', + state: 'FETCHING', }; case 'VIEW/FETCH_SCHEDULE_SUCCESS': return { ...state, - state: 'finished', + state: 'FINISHED', htmlStr: action.htmlStr, }; default: |