Skip to content

Commit 8fd83a4

Browse files
committed
fix: add missing useEffect dep
1 parent 48038ca commit 8fd83a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AutocompleteController.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const AutocompleteController = <
112112
onChange(optionValueAccessor(optionFound));
113113
}
114114
}
115-
}, [formValue, optionValueAccessor, options]);
115+
}, [formValue, optionValueAccessor, options, onChange]);
116116

117117
/**
118118
* Render

0 commit comments

Comments
 (0)