mirror of https://github.com/embarklabs/embark.git
error is `null` in DEFAULT_CREDENTIALS_STATE
This commit is contained in:
parent
9ce967ca03
commit
d150deb572
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue