fix: phone number field type
This commit is contained in:
parent
750affd349
commit
cb6b9610cf
1 changed files with 1 additions and 1 deletions
|
|
@ -434,7 +434,7 @@ const customerDataSchemas = {
|
||||||
}),
|
}),
|
||||||
smsData: Yup.object()
|
smsData: Yup.object()
|
||||||
.shape({
|
.shape({
|
||||||
phoneNumber: Yup.mixed().required()
|
phoneNumber: Yup.string().required()
|
||||||
})
|
})
|
||||||
.required()
|
.required()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue