Removed console.error from auth reducer to cleanup tests outputs. We should use Netlify error wrapper.

This commit is contained in:
Andrey Okonetchnikov 2016-10-13 11:34:55 +02:00
parent b61b53d15b
commit 27659b77f1

View File

@ -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;