diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-02-13 22:56:35 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-02-13 22:56:35 +0100 |
| commit | 41247c08ea359d0a72a247992d2019ae2120536c (patch) | |
| tree | 89becc97e6831dd95cb5d96b297a2ce5d4395009 /scraper/client/store.js | |
| parent | a2f1969b2c7c185e04e19c22a83245ad22f8df0c (diff) | |
interface working
Diffstat (limited to 'scraper/client/store.js')
| -rw-r--r-- | scraper/client/store.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scraper/client/store.js b/scraper/client/store.js index 3bf64114..8649d472 100644 --- a/scraper/client/store.js +++ b/scraper/client/store.js @@ -37,6 +37,12 @@ export default function apiReducer(state = initialState(), action) { [action.tag]: { error: action.err }, } + case types.api.set_paper_key: + return { + ...state, + paperKey: action.paperKey + } + default: return state } |
