Compare commits

..

No commits in common. "main" and "dev/loading-animation-searchbox-mahima" have entirely different histories.

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);
window.location.href = '/dashboard'; router.push("/dashboard");
} }
} }
} catch (error) { } catch (error) {