Skip to content

Commit 0405f44

Browse files
author
Bruno Lopes
committed
feat(auth): Reload auth reducer missing
1 parent 5e39750 commit 0405f44

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/reducers.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ const {
2626
AUTH_EMPTY_CHANGE,
2727
AUTH_LINK_SUCCESS,
2828
UNAUTHORIZED_ERROR,
29-
AUTH_UPDATE_SUCCESS
29+
AUTH_UPDATE_SUCCESS,
30+
AUTH_RELOAD_SUCCESS
3031
} = actionTypes
3132

3233
/**
@@ -190,6 +191,7 @@ export const authReducer = (state = { isLoaded: false, isEmpty: true }, action)
190191
}
191192
return { ...auth, isEmpty: false, isLoaded: true }
192193
case AUTH_LINK_SUCCESS:
194+
case AUTH_RELOAD_SUCCESS:
193195
if (!action.payload) {
194196
return {
195197
isEmpty: true,

0 commit comments

Comments
 (0)