From 4ae959e9c335dcc373bc35053b7d23ea5f42302d Mon Sep 17 00:00:00 2001 From: romashka-dev Date: Wed, 1 Jan 2025 20:40:41 +0200 Subject: [PATCH] [fix] Resolve ESlint issue --- components/ui/FormComponents/FormComponents.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/ui/FormComponents/FormComponents.tsx b/components/ui/FormComponents/FormComponents.tsx index 1ae0838..1f07b03 100644 --- a/components/ui/FormComponents/FormComponents.tsx +++ b/components/ui/FormComponents/FormComponents.tsx @@ -1,4 +1,4 @@ -import { Control } from 'react-hook-form' +import { Control, FieldValues } from 'react-hook-form' import { Select, SelectContent, @@ -17,7 +17,7 @@ import { Input } from '../Input' type CustomFormFieldProps = { name: string - control: Control + control: Control } const CustomFormField = ({ name, control }: CustomFormFieldProps) => { @@ -42,7 +42,7 @@ const CustomFormField = ({ name, control }: CustomFormFieldProps) => { type CustomFormSelectProps = { name: string - control: Control + control: Control items: string[] labelText?: string }