diff --git a/src/components/Atomic/TableNew/Table.tsx b/src/components/Atomic/TableNew/Table.tsx index dbe7154d..80291093 100644 --- a/src/components/Atomic/TableNew/Table.tsx +++ b/src/components/Atomic/TableNew/Table.tsx @@ -85,7 +85,6 @@ const Table: FC = (props) => { toggleAllRowsSelected, isAllRowsSelected, toggleAllPageRowsSelected, - preGlobalFilteredRows, setGlobalFilter, state: { pageIndex, pageSize, selectedRowIds, globalFilter }, } = useTable( @@ -236,7 +235,6 @@ const Table: FC = (props) => { i18n={{ search: i18n.search, }} - preGlobalFilteredRows={preGlobalFilteredRows} setGlobalFilter={setGlobalFilter} showFilterButton={showFilterButton} /> diff --git a/src/components/Atomic/TableNew/TableGlobalFilter/TableGlobalFilter.types.ts b/src/components/Atomic/TableNew/TableGlobalFilter/TableGlobalFilter.types.ts index 763d2147..8b915f9c 100644 --- a/src/components/Atomic/TableNew/TableGlobalFilter/TableGlobalFilter.types.ts +++ b/src/components/Atomic/TableNew/TableGlobalFilter/TableGlobalFilter.types.ts @@ -4,7 +4,6 @@ export type Props = { i18n: { search: string } - preGlobalFilteredRows: any setGlobalFilter: any showFilterButton?: boolean }