From 5d9d1ef31b07891eed64a5d1232d5540de187221 Mon Sep 17 00:00:00 2001 From: Amumu Date: Wed, 11 Mar 2020 11:22:46 +0800 Subject: [PATCH] remove non-null assertion (#22096) --- components/table/hooks/useFilter/FilterDropdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/table/hooks/useFilter/FilterDropdown.tsx b/components/table/hooks/useFilter/FilterDropdown.tsx index 46fc1f62d3..e457e37772 100644 --- a/components/table/hooks/useFilter/FilterDropdown.tsx +++ b/components/table/hooks/useFilter/FilterDropdown.tsx @@ -187,7 +187,7 @@ function FilterDropdown(props: FilterDropdownProps) { openKeys={openKeys} onOpenChange={onOpenChange} > - {renderFilterItems(column.filters!, prefixCls, getFilteredKeysSync(), filterMultiple)} + {renderFilterItems(column.filters || [], prefixCls, getFilteredKeysSync(), filterMultiple)}