diff --git a/lib/client/storyFormSchema.ts b/lib/client/storyFormSchema.ts index aeface6..27dd209 100644 --- a/lib/client/storyFormSchema.ts +++ b/lib/client/storyFormSchema.ts @@ -82,7 +82,7 @@ export const cs = yup.object().shape({ } else { ext = (value as File)?.name?.split(".").reverse()[0]; } - // console.log(ext) + // let reg = /(docx|doc)$/i; return reg.test(ext); },