formatting

This commit is contained in:
Patrick McDonagh
2018-08-10 15:02:28 -05:00
parent 9eef3052ff
commit 96f02ef992
2 changed files with 4 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ const INITIAL_STATE = {
last: '',
companyName: '',
},
loading: false,
loading: false
};
export default (state = INITIAL_STATE, action) => {
@@ -37,7 +37,7 @@ export default (state = INITIAL_STATE, action) => {
password: '',
authToken: action.payload.authToken,
user: action.payload.user,
loading: false,
loading: false
};
case LOGIN_USER_FAIL:
@@ -45,7 +45,7 @@ export default (state = INITIAL_STATE, action) => {
...state,
error: 'Authentication failed!',
password: '',
loading: false,
loading: false
};
case LOGOUT:
@@ -55,4 +55,3 @@ export default (state = INITIAL_STATE, action) => {
return state;
}
};

View File

@@ -4,5 +4,5 @@ import MeshifyReducer from './meshifyReducer';
export default combineReducers({
auth: AuthReducer,
meshify: MeshifyReducer,
meshify: MeshifyReducer
});