From 7746deedc226ee82878786060f850d9a2e263fad Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 24 Jun 2016 00:13:05 +0800 Subject: [PATCH] [web] code format --- web/src/js/ducks/views/main.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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: