From e6abe96fbfec17ffe9da4bb99289307785d00bc1 Mon Sep 17 00:00:00 2001 From: Rom Grk Date: Mon, 14 Aug 2023 08:55:15 -0400 Subject: [PATCH] lint --- .../src/components/panel/filterPanel/GridFilterInputValue.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputValue.tsx b/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputValue.tsx index 48295d47cd35f..670bfc7fbc3fa 100644 --- a/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputValue.tsx +++ b/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputValue.tsx @@ -52,7 +52,7 @@ function GridFilterInputValue(props: GridTypeFilterInputValueProps) { setIsApplying(false); }); }, - [applyValue, item, rootProps.filterDebounceMs, filterTimeout], + [id, applyValue, item, rootProps.filterDebounceMs, filterTimeout], ); React.useEffect(() => { @@ -60,7 +60,7 @@ function GridFilterInputValue(props: GridTypeFilterInputValueProps) { if (itemPlusTag.fromInput !== id) { setFilterValueState(String(item.value ?? '')); } - }, [item]); + }, [id, item]); return (