[web] code format
This commit is contained in:
parent
b2ffa06e32
commit
7746deedc2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue