Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
romgrk committed Aug 14, 2023
1 parent f1d05aa commit e6abe96
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ function GridFilterInputValue(props: GridTypeFilterInputValueProps) {
setIsApplying(false);
});
},
[applyValue, item, rootProps.filterDebounceMs, filterTimeout],
[id, applyValue, item, rootProps.filterDebounceMs, filterTimeout],
);

React.useEffect(() => {
const itemPlusTag = item as ItemPlusTag;
if (itemPlusTag.fromInput !== id) {
setFilterValueState(String(item.value ?? ''));
}
}, [item]);
}, [id, item]);

return (
<rootProps.slots.baseTextField
Expand Down

0 comments on commit e6abe96

Please sign in to comment.