From d150deb572b3abcd08f95ea149cb606e1356ab06 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Wed, 24 Oct 2018 14:46:50 -0500 Subject: [PATCH] error is `null` in DEFAULT_CREDENTIALS_STATE --- embark-ui/src/reducers/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/embark-ui/src/reducers/index.js b/embark-ui/src/reducers/index.js index 4dcf75e9d..2936be61a 100644 --- a/embark-ui/src/reducers/index.js +++ b/embark-ui/src/reducers/index.js @@ -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) {