Removed console.error from auth reducer to cleanup tests outputs. We should use Netlify error wrapper.
This commit is contained in:
parent
b61b53d15b
commit
27659b77f1
@ -8,7 +8,6 @@ const auth = (state = null, action) => {
|
||||
case AUTH_SUCCESS:
|
||||
return Immutable.fromJS({ user: action.payload });
|
||||
case AUTH_FAILURE:
|
||||
console.error(action.payload);
|
||||
return Immutable.Map({ error: action.payload.toString() });
|
||||
default:
|
||||
return state;
|
||||
|
Loading…
x
Reference in New Issue
Block a user