Skip to content

Commit

Permalink
fro test
Browse files Browse the repository at this point in the history
  • Loading branch information
Keerthilochankumar committed Sep 18, 2024
1 parent a17494a commit b5c694e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Auth/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function Register() {
e.preventDefault();
try {
await axios.post('http://localhost:3000/api/signup', { email, username, password });
navigate('/login');
navigate('/signin');
} catch (error) {
console.error('Registration error:', error);
}
Expand Down

0 comments on commit b5c694e

Please sign in to comment.