diff --git a/frontend/src/component/common/Search/SearchSuggestions/SearchSuggestions.tsx b/frontend/src/component/common/Search/SearchSuggestions/SearchSuggestions.tsx index d6c451a99b..cd84d567f4 100644 --- a/frontend/src/component/common/Search/SearchSuggestions/SearchSuggestions.tsx +++ b/frontend/src/component/common/Search/SearchSuggestions/SearchSuggestions.tsx @@ -73,7 +73,7 @@ export const SearchSuggestions: VFC = ({ name: column.filterName, header: column.Header ?? column.filterName, options: [...new Set(filterOptions)] - .filter((it: unknown) => it) + .filter(Boolean) .sort((a, b) => a.localeCompare(b)), suggestedOption: filterOptions[randomRow] ?? `example-${column.filterName}`,