From cc17d98fe42289776895dc33dc084d586bd8b5cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Thu, 28 Dec 2023 20:05:16 -0500 Subject: [PATCH] style(client-side): update indentation in `storyFormSchema` --- lib/client/storyFormSchema.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/client/storyFormSchema.ts b/lib/client/storyFormSchema.ts index 27dd209..309daa1 100644 --- a/lib/client/storyFormSchema.ts +++ b/lib/client/storyFormSchema.ts @@ -40,7 +40,7 @@ export const cs = yup.object().shape({ ? schema.oneOf( [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.", - ) + ) : schema.oneOf([true, false]); }), hidden: yup.boolean().oneOf([true, false]), @@ -87,7 +87,7 @@ export const cs = yup.object().shape({ return reg.test(ext); }, ) */ - yup.mixed(); + yup.mixed(); } /* { is: "upload", then: ,