sparkletown/sparkle

View on GitHub
src/hooks/useImageInputCompression.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useImageInputCompression has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useImageInputCompression = (
  register: ReturnType<typeof useForm>["register"],
  externalErrorMessage: FieldError["message"] | undefined,
  fileInputName: string
) => {
Severity: Minor
Found in src/hooks/useImageInputCompression.ts - About 1 hr to fix

There are no issues that match your filters.

Category
Status