fix: code indentation

This commit is contained in:
LoadChange 2019-02-28 16:06:59 +08:00
parent b1b9beeba7
commit 979c2bd6e1

View File

@ -21,7 +21,7 @@ const initialState = {
};
const getState = () => dispatch =>
request.get('v1/console/server/state').then(res =>
request.get('v1/console/server/state').then(res => {
dispatch({
type: GET_STATE,
data: {
@ -29,8 +29,8 @@ const getState = () => dispatch =>
standaloneMode: res.standalone_mode,
functionMode: res.function_mode,
},
})
);
});
});
export default (state = initialState, action) => {
switch (action.type) {