We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9dcd8d commit 28c2e8bCopy full SHA for 28c2e8b
src/extension/react/AgGridFilters/DirectionFilter.tsx
@@ -1,5 +1,4 @@
1
import type { CustomFilterDisplayProps } from 'ag-grid-react';
2
-import { useGridFilterDisplay } from 'ag-grid-react';
3
import { Check } from 'lucide-react';
4
import type { Direction } from '../../../types/shared';
5
import DirectionBadge from '../components/DirectionBadge';
@@ -19,8 +18,6 @@ export default function DirectionFilter({
19
18
}: CustomFilterDisplayProps<string[]>) {
20
const selected: Direction[] = model ?? [];
21
22
- useGridFilterDisplay({});
23
-
24
const toggle = (dir: Direction) => {
25
if (selected.includes(dir)) {
26
const next = selected.filter((d) => d !== dir);
0 commit comments