ws-nextjs-app/pages/[service]/send/[id]/FormField/File/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function handleFileChange has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  const handleFileChange = (event: ChangeEvent<HTMLInputElement>) => {
    // Converts FileList to an actual array
    const chosenFiles = Array.prototype.slice.call(
      event.target.files,
    ) as File[];
Severity: Minor
Found in ws-nextjs-app/pages/[service]/send/[id]/FormField/File/index.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status