fix(lists-table): 📦🐛 fix antd onChange filters type

ref https://github.com/ant-design/ant-design/pull/28220
This commit is contained in:
Collin M. Barrett 2020-12-15 17:07:34 -06:00
parent 206366cb9d
commit c9a3613ce1

View file

@ -78,7 +78,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => {
}}
onChange={(
_pagination: TablePaginationConfig,
_filters: Record<string, Key[] | null>,
_filters: Record<string, (Key | boolean)[] | null>,
_sorter: SorterResult<List> | SorterResult<List>[],
extra: TableCurrentDataSource<List>
) => setVisibleLists(extra.currentDataSource)}