Token table caching issue resolved #5

Merged
Atul merged 1 commits from dev/TokenTableCachingIssue into main 2025-05-19 11:40:17 +05:30

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) {