refactor(v1 cleanup): added in removal of localstoage items from v1

This commit is contained in:
2025-04-21 07:46:24 -05:00
parent b42b8a4c83
commit f44e5a87e7
5 changed files with 57 additions and 7 deletions

View File

@@ -5,12 +5,6 @@ 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");
}