Compare commits
No commits in common. "main" and "dev/loading-animation-searchbox-mahima" have entirely different histories.
main
...
dev/loadin
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user