mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-07 15:10:45 +03:00
Fix style
This commit is contained in:
parent
daf029fca2
commit
9466e68cc7
|
@ -86,7 +86,7 @@ function liftReducer(reducer, initialState) {
|
||||||
skippedActions: {},
|
skippedActions: {},
|
||||||
currentStateIndex: 0,
|
currentStateIndex: 0,
|
||||||
monitorState: {
|
monitorState: {
|
||||||
isVisible: true,
|
isVisible: true
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -141,12 +141,12 @@ function liftReducer(reducer, initialState) {
|
||||||
break;
|
break;
|
||||||
case ActionTypes.HIDE:
|
case ActionTypes.HIDE:
|
||||||
monitorState = {
|
monitorState = {
|
||||||
isVisible: false,
|
isVisible: false
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case ActionTypes.SHOW:
|
case ActionTypes.SHOW:
|
||||||
monitorState = {
|
monitorState = {
|
||||||
isVisible: true,
|
isVisible: true
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -222,10 +222,10 @@ export const ActionCreators = {
|
||||||
return { type: ActionTypes.SWEEP };
|
return { type: ActionTypes.SWEEP };
|
||||||
},
|
},
|
||||||
show() {
|
show() {
|
||||||
return { type: ActionTypes.SHOW }
|
return { type: ActionTypes.SHOW };
|
||||||
},
|
},
|
||||||
hide() {
|
hide() {
|
||||||
return { type: ActionTypes.HIDE }
|
return { type: ActionTypes.HIDE };
|
||||||
},
|
},
|
||||||
toggleAction(index) {
|
toggleAction(index) {
|
||||||
return { type: ActionTypes.TOGGLE_ACTION, index };
|
return { type: ActionTypes.TOGGLE_ACTION, index };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user