From 3ff3b72f31b4a2647366c17dd2bbba0a8aae58e9 Mon Sep 17 00:00:00 2001 From: Victor Chabbert Date: Mon, 22 May 2017 22:47:20 +0200 Subject: Move to prettier-eslint for better configuration --- frontend/src/redux/errors.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'frontend/src/redux/errors.js') diff --git a/frontend/src/redux/errors.js b/frontend/src/redux/errors.js index ec1e30b6..fdc2242d 100644 --- a/frontend/src/redux/errors.js +++ b/frontend/src/redux/errors.js @@ -19,7 +19,10 @@ const initialState = Immutable.from({ export default (state = initialState, action) => { switch (action.type) { case types.ERROR_RECEIVED_ON_WS: - let error = Object.assign({ id: state.nextId, timestamp: new Date() }, action.error); + let error = Object.assign( + { id: state.nextId, timestamp: new Date() }, + action.error + ); let newState = state.set('nextId', state.nextId + 1); newState = addErrorToHistory(newState, error); return newState; -- cgit