Fix Troll type

This commit is contained in:
MeowcaTheoRange 2023-08-24 01:38:24 -05:00
parent 10a967d69e
commit dec55f6979

View file

@ -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.