chore: null
it's commented out code lmao
This commit is contained in:
parent
c502acbba9
commit
662a97ffc5
@ -82,7 +82,7 @@ export const cs = yup.object<FormChapter>().shape({
|
|||||||
} else {
|
} else {
|
||||||
ext = (value as File)?.name?.split(".").reverse()[0];
|
ext = (value as File)?.name?.split(".").reverse()[0];
|
||||||
}
|
}
|
||||||
// console.log(ext)
|
//
|
||||||
let reg = /(docx|doc)$/i;
|
let reg = /(docx|doc)$/i;
|
||||||
return reg.test(ext);
|
return reg.test(ext);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user