src/hooks/useImageInputCompression.ts
Function useImageInputCompression
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useImageInputCompression = (
register: ReturnType<typeof useForm>["register"],
externalErrorMessage: FieldError["message"] | undefined,
fileInputName: string
) => {
- Create a ticketCreate a ticket