mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 20:29:17 +00:00
fix: error in toast message after signup
This commit is contained in:
@@ -67,10 +67,10 @@ const SignUp = () => {
|
||||
e.preventDefault();
|
||||
try {
|
||||
await api.post("/auth/signup", user);
|
||||
toast.success(i18n.t("signup.toast.success"));
|
||||
toast.success(i18n.t("signup.toasts.success"));
|
||||
history.push("/login");
|
||||
} catch (err) {
|
||||
toast.error(i18n.t("signup.toast.fail"));
|
||||
toast.error(i18n.t("signup.toasts.fail"));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user