[web] code format

This commit is contained in:
Jason 2016-06-24 00:13:05 +08:00
parent b2ffa06e32
commit 7746deedc2
1 changed files with 6 additions and 2 deletions

View File

@ -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: