Compare commits

..

2 Commits

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