diff --git a/console/src/main/resources/static/console-fe/src/reducers/base.js b/console/src/main/resources/static/console-fe/src/reducers/base.js index fd86223d4..2097a6c63 100644 --- a/console/src/main/resources/static/console-fe/src/reducers/base.js +++ b/console/src/main/resources/static/console-fe/src/reducers/base.js @@ -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) {