validation input message for verification code
This commit is contained in:
@@ -68,6 +68,7 @@
|
|||||||
"link_routing_previuos_page": "صفحه قبل",
|
"link_routing_previuos_page": "صفحه قبل",
|
||||||
"link_routing_main_page": "صفحه اصلی",
|
"link_routing_main_page": "صفحه اصلی",
|
||||||
"error_message_phone_number": "شماره تلفن خود را وارد کنید!",
|
"error_message_phone_number": "شماره تلفن خود را وارد کنید!",
|
||||||
|
"error_message_verification_code": "کد یکبار مصرف خود را وارد کنید!",
|
||||||
"button_make_account": "ایجاد حساب",
|
"button_make_account": "ایجاد حساب",
|
||||||
"button_request_verification": "دریافت کد یکبارمصرف",
|
"button_request_verification": "دریافت کد یکبارمصرف",
|
||||||
"sent_token_to": "ارسال کد یکبار مصرف به شماره",
|
"sent_token_to": "ارسال کد یکبار مصرف به شماره",
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ const SendTokenComponent = ({
|
|||||||
};
|
};
|
||||||
const validationSchema = Yup.object().shape({
|
const validationSchema = Yup.object().shape({
|
||||||
verification_code: Yup.string().required(
|
verification_code: Yup.string().required(
|
||||||
t("LoginPage.error_message_required")
|
t("LoginPage.error_message_verification_code")
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user