diff --git a/react-frontend/src/reducers/recognitionReducer.js b/react-frontend/src/reducers/recognitionReducer.js index 116dd82cd..83dc68e0c 100644 --- a/react-frontend/src/reducers/recognitionReducer.js +++ b/react-frontend/src/reducers/recognitionReducer.js @@ -3,9 +3,9 @@ const defaultState = [{}]; export default (state = defaultState, action) => { switch (action.type) { case "GET_RECOGNITION_LIST_SUCCESS": - return action.value; + return action.payload; case "GET_RECOGNITION_LIST_FAILURE": - return action.value; + return action.payload; default: return state; }