style(client-side): update indentation in storyFormSchema
This commit is contained in:
parent
c598ff61b3
commit
cc17d98fe4
@ -40,7 +40,7 @@ export const cs = yup.object<FormChapter>().shape({
|
|||||||
? schema.oneOf(
|
? schema.oneOf(
|
||||||
[true],
|
[true],
|
||||||
"If your story contains adult content, you MUST restrict the ability to read it to logged-in users only. Failure to comply may result in a takedown.",
|
"If your story contains adult content, you MUST restrict the ability to read it to logged-in users only. Failure to comply may result in a takedown.",
|
||||||
)
|
)
|
||||||
: schema.oneOf([true, false]);
|
: schema.oneOf([true, false]);
|
||||||
}),
|
}),
|
||||||
hidden: yup.boolean().oneOf([true, false]),
|
hidden: yup.boolean().oneOf([true, false]),
|
||||||
@ -87,7 +87,7 @@ export const cs = yup.object<FormChapter>().shape({
|
|||||||
return reg.test(ext);
|
return reg.test(ext);
|
||||||
},
|
},
|
||||||
) */
|
) */
|
||||||
yup.mixed();
|
yup.mixed();
|
||||||
} /* {
|
} /* {
|
||||||
is: "upload",
|
is: "upload",
|
||||||
then: ,
|
then: ,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user