From 41247c08ea359d0a72a247992d2019ae2120536c Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 13 Feb 2019 22:56:35 +0100 Subject: interface working --- scraper/client/store.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scraper/client/store.js') 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 } -- cgit v1.2.3-70-g09d2