renmy 8 months ago
parent
commit
f43f157b85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/auth.js

+ 1 - 1
src/utils/auth.js

@@ -11,5 +11,5 @@ export function setToken(token) {
 }
 
 export function removeToken() {
-    return sessionStorage.setItem(TokenKey, null) //Cookies.remove(TokenKey)
+    return sessionStorage.removeItem(TokenKey) //.setItem(TokenKey, null) //Cookies.remove(TokenKey)
 }