Skip to content

Commit 5fd521a

Browse files
committed
remove handleChange from dependency array
1 parent 65d556d commit 5fd521a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AutoCompleteInput/AutoCompleteInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const AutoCompleteInput = <
9898

9999
useEffect(() => {
100100
handleChange(value, true);
101-
}, [handleChange, value]);
101+
}, [value]);
102102

103103
const startTracking = (trigger: Trigger) => {
104104
isTrackingStarted.current = true;

0 commit comments

Comments
 (0)