Skip to content

Commit

Permalink
Update Login.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ramo-dev authored Apr 16, 2024
1 parent 9ed3310 commit 16a0994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Login = () => {

useEffect(() => {
if (isLoggedin) {
navigate('/profile');
navigate('/');
}
}, [isLoggedin, navigate]);

Expand Down

0 comments on commit 16a0994

Please sign in to comment.