mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 03:39:29 +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"));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ const messages = {
|
||||
signup: {
|
||||
title: "Sign up",
|
||||
toasts: {
|
||||
success: "User created successfully! Please login !!!.",
|
||||
success: "User created successfully! Please login!",
|
||||
fail: "Error creating user. Check the reported data.",
|
||||
},
|
||||
form: {
|
||||
|
||||
Reference in New Issue
Block a user