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
+1 -8
View File
@@ -5,7 +5,6 @@ import {
Controller,
FieldPath,
FieldValues,
useFormContext,
} from "react-hook-form";
import { twMerge } from "tailwind-merge";
@@ -34,15 +33,9 @@ export const SwitchField = <
disabled,
className,
labelClassName,
childrenWrapperClassName,
hideErrorMessage,
...rest
} = props;
const form = useFormContext<TFieldValues>();
return (
return (
<Field
{...{
name,