Skip to content

Commit b9f34e7

Browse files
author
David Emory
committed
fix(manager): Fix console errors on logout
1 parent 7918eee commit b9f34e7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/manager/actions/user.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,9 @@ export function userLogout () {
257257

258258
export function logout () {
259259
return function (dispatch, getState) {
260-
dispatch(userLogout())
260+
// dispatch(userLogout()) // disabled to avoid console errors on logout
261+
// TODO: determine if any further action is needed to clear store on user
262+
// logout. If not, completely remove USER_LOGGED_OUT from code
261263
getState().user.auth0.logout()
262264
}
263265
}

0 commit comments

Comments
 (0)