i guess don't transform that
This commit is contained in:
parent
0c579279fa
commit
4d5ec8edb0
1 changed files with 0 additions and 6 deletions
|
@ -21,9 +21,6 @@ export const SubmitTrollSchema = yup
|
|||
.matches(/^[A-z]+$/, "Letters only")
|
||||
.max(24)
|
||||
.lowercase()
|
||||
.transform(v => {
|
||||
return v.length <= 0 ? undefined : v;
|
||||
})
|
||||
])
|
||||
.required(),
|
||||
description: yup.string().max(10000).ensure(),
|
||||
|
@ -41,9 +38,6 @@ export const SubmitTrollSchema = yup
|
|||
.matches(/^[A-z-]+$/, "Letters only")
|
||||
.lowercase()
|
||||
.max(50)
|
||||
.transform(v => {
|
||||
return v.length <= 0 ? undefined : v;
|
||||
})
|
||||
])
|
||||
.required(),
|
||||
pronouns: yup
|
||||
|
|
Loading…
Reference in a new issue