fix: localize Yup validation messages
Deploy banu-front / deploy (push) Successful in 1m50s

This commit is contained in:
sajjadtalkhabi
2026-08-14 21:08:43 +03:30
parent fe08fc46fb
commit fec1da6ec8
8 changed files with 120 additions and 22 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ const baseUserShape = {
provinceId: string().nullable().notRequired(),
cityId: string().nullable().notRequired(),
address: string().nullable().notRequired(),
avatarMediaId: number().nullable().notRequired(),
avatarMediaId: number().typeError('شناسه تصویر پروفایل باید عدد باشد').nullable().notRequired(),
}
export const userAddSchema = object().shape({