diff --git a/frontend/src/hooks/useSession.ts b/frontend/src/hooks/useSession.ts index 7c30b88..3af26c7 100644 --- a/frontend/src/hooks/useSession.ts +++ b/frontend/src/hooks/useSession.ts @@ -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"); }