Skip to content

Commit

Permalink
Added localstorage reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey committed Nov 8, 2023
1 parent f1d6669 commit abcc6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redux/login/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const user = (state: UserType = initialUserState, action: UserActions) => {
};
case USER_AUTH_LOGOUT:
// TODO: this needs to be moved where it
// can be run on logout
// can be run on logout
localStorage.setItem("token", null);
return {
...state,
Expand Down

0 comments on commit abcc6e5

Please sign in to comment.