Skip to content

Commit 2d8cfe0

Browse files
committed
refactor(web): remove unused watch from form select component
1 parent ec46140 commit 2d8cfe0

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

web/src/components/form/form-select.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ export const FormSelect = ({
3838
const fieldError = getNestedValue(errors, name);
3939
const errorMessage = fieldError?.message as string;
4040

41-
const { watch } = useFormContext();
42-
4341
return (
4442
<Form.Field
4543
className={cn('form-field relative', {

0 commit comments

Comments
 (0)