From abcc6e5659e407d6bd1020a842b7a2977b10ed45 Mon Sep 17 00:00:00 2001 From: Corey Date: Wed, 8 Nov 2023 13:48:58 -0700 Subject: [PATCH] Added localstorage reset --- src/redux/login/reducer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redux/login/reducer.js b/src/redux/login/reducer.js index b0539a6..9833e08 100644 --- a/src/redux/login/reducer.js +++ b/src/redux/login/reducer.js @@ -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,