From e4ca1a7fb8c53abc28af66350876134244359418 Mon Sep 17 00:00:00 2001 From: David Matejka Date: Mon, 15 Apr 2024 13:45:15 +0200 Subject: [PATCH] fix(playground): fix number filter type --- .../admin/lib/components/datagrid/filters/number.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/playground/admin/lib/components/datagrid/filters/number.tsx b/packages/playground/admin/lib/components/datagrid/filters/number.tsx index ea40abf82..05d432fd9 100644 --- a/packages/playground/admin/lib/components/datagrid/filters/number.tsx +++ b/packages/playground/admin/lib/components/datagrid/filters/number.tsx @@ -1,6 +1,6 @@ import * as React from 'react' import { ReactNode } from 'react' -import { createNumberFilter, DataViewFilter, DataViewNullFilterTrigger, DataViewNumberFilterInput, DataViewNumberFilterResetTrigger, NumberRangeFilterArtifacts, useDataViewFilter } from '@contember/react-dataview' +import { createNumberRangeFilter, DataViewFilter, DataViewNullFilterTrigger, DataViewNumberFilterInput, DataViewNumberFilterResetTrigger, NumberRangeFilterArtifacts, useDataViewFilter } from '@contember/react-dataview' import { Popover, PopoverContent, PopoverTrigger } from '../../ui/popover' import { DataGridActiveFilterUI, DataGridFilterSelectTriggerUI, DataGridSingleFilterUI } from '../ui' import { DataGridNullFilter } from './common' @@ -25,7 +25,7 @@ export const DataGridNumberFilter = Component(({ name: nameIn, field, label }: D ) }, ({ name, field }) => { - return + return })