diff --git a/client/src/reducers/queryLogs.js b/client/src/reducers/queryLogs.js index 19d92afb..1575c62d 100644 --- a/client/src/reducers/queryLogs.js +++ b/client/src/reducers/queryLogs.js @@ -28,11 +28,7 @@ const queryLogs = handleActions( }; }, - [actions.setLogsFilterRequest]: (state, { payload }) => { - const { filter } = payload; - - return { ...state, filter }; - }, + [actions.setLogsFilterRequest]: (state, { payload }) => ({ ...state, filter: payload }), [actions.getLogsRequest]: (state) => ({ ...state, processingGetLogs: true }), [actions.getLogsFailure]: (state) => ({ ...state, processingGetLogs: false }),