Skip to content

Commit

Permalink
[fix] Resolve ESlint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
romashka-dev committed Jan 1, 2025
1 parent 7d65c16 commit 4ae959e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/ui/FormComponents/FormComponents.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Control } from 'react-hook-form'
import { Control, FieldValues } from 'react-hook-form'
import {
Select,
SelectContent,
Expand All @@ -17,7 +17,7 @@ import { Input } from '../Input'

type CustomFormFieldProps = {
name: string
control: Control<any>
control: Control<FieldValues>
}

const CustomFormField = ({ name, control }: CustomFormFieldProps) => {
Expand All @@ -42,7 +42,7 @@ const CustomFormField = ({ name, control }: CustomFormFieldProps) => {

type CustomFormSelectProps = {
name: string
control: Control<any>
control: Control<FieldValues>
items: string[]
labelText?: string
}
Expand Down

0 comments on commit 4ae959e

Please sign in to comment.