Token table caching issue resolved

This commit is contained in:
ATUL GUNJAL 2025-05-19 11:39:00 +05:30
parent 2d9b89fdd8
commit febea32de8

View File

@ -90,7 +90,7 @@ export default function AuthPage() {
if (user) {
localStorage.setItem("isLoggedIn", "true");
setIsAuthenticated(true);
router.push("/dashboard");
window.location.href = '/dashboard';
}
}
} catch (error) {