...in the right place, please

This commit is contained in:
MeowcaTheoRange 2023-08-24 15:43:00 -05:00
parent 4b52854180
commit 3f1632e8d1

View file

@ -20,7 +20,8 @@ export const SubmitClanSchema = yup
pronouns: yup
.array()
.of(
yup.tuple([
yup
.tuple([
yup
.string()
.required()
@ -40,6 +41,7 @@ export const SubmitClanSchema = yup
.max(10)
.lowercase() // hers, his, theirs
])
.required()
)
.required()
.min(1)
@ -94,8 +96,7 @@ export const PartialClanSchema = yup
pronouns: yup
.array()
.of(
yup
.tuple([
yup.tuple([
yup
.string()
.matches(/^[A-z]+$/, "Letters only")
@ -112,7 +113,6 @@ export const PartialClanSchema = yup
.max(10)
.lowercase() // hers, his, theirs
])
.required()
)
.min(1)
})