Skip to content

Commit

Permalink
Update RegistrationForm.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
AnWhiteM committed Jun 12, 2024
1 parent 19d038d commit b665a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RegistrationForm/RegistrationForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const RegistrationForm = () => {
console.log(values);
dispatch(register(values));
toast.success("Ти зареєструвався");
navigate("/auth/login");
navigate("/home");
actions.resetForm();
};
const [showPassword, setShowPassword] = useState(false);
Expand Down

0 comments on commit b665a15

Please sign in to comment.