error is null in DEFAULT_CREDENTIALS_STATE

This commit is contained in:
Michael Bradley, Jr 2018-10-24 14:46:50 -05:00
parent 9ce967ca03
commit d150deb572

View File

@ -204,7 +204,8 @@ const DEFAULT_CREDENTIALS_STATE = {
host: process.env.NODE_ENV === 'development' ? DEFAULT_HOST : window.location.host,
token: '',
authenticated: false,
authenticating: false
authenticating: false,
error: null
};
function credentials(state = DEFAULT_CREDENTIALS_STATE, action) {