ws-nextjs-app/pages/[service]/send/[id]/FormField/File/index.tsx
Function handleFileChange
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const handleFileChange = (event: ChangeEvent<HTMLInputElement>) => {
// Converts FileList to an actual array
const chosenFiles = Array.prototype.slice.call(
event.target.files,
) as File[];