fix(auth): corrected to remove localstorage

This commit is contained in:
2025-04-18 16:23:39 -05:00
parent 8b7353d42b
commit e780a24a8a

View File

@@ -5,6 +5,12 @@ import { useEffect } from "react";
const fetchSession = async () => {
const token = localStorage.getItem("auth_token");
//temp
localStorage.removeItem("ally-supports-cache");
localStorage.removeItem("auth-storage");
localStorage.removeItem("nextauth.message");
localStorage.removeItem("prod");
if (!token) {
throw new Error("No token found");
}