validation input message for verification code

This commit is contained in:
2023-08-14 14:45:29 +03:30
parent ca6a5ffd1e
commit dd239ac46c
2 changed files with 2 additions and 1 deletions

View File

@@ -68,6 +68,7 @@
"link_routing_previuos_page": "صفحه قبل",
"link_routing_main_page": "صفحه اصلی",
"error_message_phone_number": "شماره تلفن خود را وارد کنید!",
"error_message_verification_code": "کد یکبار مصرف خود را وارد کنید!",
"button_make_account": "ایجاد حساب",
"button_request_verification": "دریافت کد یکبارمصرف",
"sent_token_to": "ارسال کد یکبار مصرف به شماره",

View File

@@ -32,7 +32,7 @@ const SendTokenComponent = ({
};
const validationSchema = Yup.object().shape({
verification_code: Yup.string().required(
t("LoginPage.error_message_required")
t("LoginPage.error_message_verification_code")
),
});