diff --git a/web/src/js/ducks/views/main.js b/web/src/js/ducks/views/main.js index 60a84fa46..5e063f4b9 100755 --- a/web/src/js/ducks/views/main.js +++ b/web/src/js/ducks/views/main.js @@ -27,7 +27,6 @@ const sortKeyFuns = { }, } - const defaultState = { highlight: null, selected: [], @@ -108,7 +107,12 @@ export default function reduce(state = defaultState, action) { case viewsActions.REMOVE: return { ...state, - view: reduceView(state.view, viewActions.remove(action.id)), + view: reduceView( + state.view, + viewActions.remove( + action.id + ) + ), } case viewsActions.RECEIVE: