fix linting errors - unused deps etc

This commit is contained in:
2026-09-29 09:02:46 +02:00
parent 29e3173d80
commit 3fde18106d
11 changed files with 14 additions and 36 deletions
+3 -7
View File
@@ -1,4 +1,4 @@
import React from "react";
import type {HTMLProps, ReactNode} from 'react'
import { get } from "lodash";
import {
@@ -19,9 +19,9 @@ type TextAreaFieldProps<
TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
> = Prettify<
GenericFieldProps<TFieldValues, TFieldName> &
Omit<React.HTMLProps<HTMLTextAreaElement>, "ref" | "name"> & {
Omit<HTMLProps<HTMLTextAreaElement>, "ref" | "name"> & {
handleChanged?: (props: { name: string }) => void;
startIcon?: React.ReactNode;
startIcon?: ReactNode;
required?: boolean;
}
>;
@@ -40,11 +40,7 @@ export const TextAreaField = <
labelClassName,
childrenWrapperClassName,
hideErrorMessage = false,
startIcon,
handleChanged,
required,
disabled,
...rest
} = props;