From 56177346df86c1d1b188f7f062beb84ddb598540 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Wed, 24 Oct 2018 14:47:01 -0500 Subject: [PATCH] set error null for action.type AUTHENTICATE[REQUEST] --- embark-ui/src/reducers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embark-ui/src/reducers/index.js b/embark-ui/src/reducers/index.js index 2936be61a..4009268e5 100644 --- a/embark-ui/src/reducers/index.js +++ b/embark-ui/src/reducers/index.js @@ -226,7 +226,7 @@ function credentials(state = DEFAULT_CREDENTIALS_STATE, action) { } if (action.type === AUTHENTICATE[REQUEST]) { - return {...state, ...{authenticating: true}}; + return {...state, ...{authenticating: true, error: null}}; } return state;