route to dashboard

This commit is contained in:
VividTruthKeeper 2022-09-06 16:38:23 +05:00
parent bbfdba7eed
commit 6e9e18fe98
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ const Login = () => {
useEffect(() => {
if (user.username) {
navigate("/");
navigate("/dashboard");
}
}, [user]);