Skip to content

Commit

Permalink
fix: code indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
loadchange committed Feb 28, 2019
1 parent b1b9bee commit 979c2bd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ 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: {
version: res.version,
standaloneMode: res.standalone_mode,
functionMode: res.function_mode,
},
})
);
});
});

export default (state = initialState, action) => {
switch (action.type) {
Expand Down

0 comments on commit 979c2bd

Please sign in to comment.