Fix Troll type
This commit is contained in:
parent
10a967d69e
commit
dec55f6979
1 changed files with 6 additions and 6 deletions
|
@ -107,16 +107,16 @@ export const SubmitTrollSchema = yup
|
||||||
username: yup.string().max(100),
|
username: yup.string().max(100),
|
||||||
textColor: yup
|
textColor: yup
|
||||||
.tuple([
|
.tuple([
|
||||||
yup.number().min(0).max(255),
|
yup.number().min(0).max(255).required(),
|
||||||
yup.number().min(0).max(255),
|
yup.number().min(0).max(255).required(),
|
||||||
yup.number().min(0).max(255)
|
yup.number().min(0).max(255).required()
|
||||||
])
|
])
|
||||||
.notRequired(), // default to trueSign color if undefined,
|
.notRequired(), // default to trueSign color if undefined,
|
||||||
pageColor: yup
|
pageColor: yup
|
||||||
.tuple([
|
.tuple([
|
||||||
yup.number().min(0).max(255),
|
yup.number().min(0).max(255).required(),
|
||||||
yup.number().min(0).max(255),
|
yup.number().min(0).max(255).required(),
|
||||||
yup.number().min(0).max(255)
|
yup.number().min(0).max(255).required()
|
||||||
])
|
])
|
||||||
.notRequired(), // colors the page.
|
.notRequired(), // colors the page.
|
||||||
quirks: SubmitQuirkHolderSchema.required(), // DO NOT HANDLE RIGHT NOW.
|
quirks: SubmitQuirkHolderSchema.required(), // DO NOT HANDLE RIGHT NOW.
|
||||||
|
|
Loading…
Reference in a new issue