mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-11-18 07:22:06 +00:00
fix linting errors - unused deps etc
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user