Merge pull request 'Token table caching issue resolved' (#5) from dev/TokenTableCachingIssue into main

Reviewed-on: #5
This commit is contained in:
ATUL GUNJAL 2025-05-19 06:10:16 +00:00
commit a30cf6fd60

View File

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