..forgot pronunciation

This commit is contained in:
MeowcaTheoRange 2023-10-20 20:58:07 -05:00
parent 8d079adaf3
commit 37d8669514

View file

@ -30,12 +30,12 @@ export const SubmitTrollSchema = yup
yup
.string()
.required()
.matches(/^[A-z-]+$/, "Letters only")
.matches(/^[A-z0-9-_]+$/, "Alphanumeric characters only")
.lowercase()
.max(50),
yup
.string()
.required()
.notRequired()
.matches(/^[A-z-]+$/, "Letters only")
.lowercase()
.max(50)
@ -228,7 +228,7 @@ export const PartialTrollSchema = yup
pronunciation: yup.tuple([
yup
.string()
.matches(/^[A-z-]+$/, "Letters only")
.matches(/^[A-z0-9-_]+$/, "Alphanumeric characters only")
.lowercase(),
yup
.string()