Skip to content

Commit

Permalink
CONSOLE-4476: Remove dummyProps in CatalogFilters
Browse files Browse the repository at this point in the history
  • Loading branch information
logonoff committed Feb 11, 2025
1 parent 679c47b commit 633c6f0
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ const CatalogFilters: React.FC<CatalogFiltersProps> = ({
const renderFilterItem = (filter: CatalogFilterItem, filterName: string, groupName: string) => {
const { label, active } = filter;
const count = filterGroupCounts[groupName]?.[filterName] ?? 0;
// TODO remove when adopting https://github.com/patternfly/patternfly-react/issues/5139
const dummyProps = {} as any;
return (
<FilterSidePanelCategoryItem
key={filterName}
Expand All @@ -52,7 +50,6 @@ const CatalogFilters: React.FC<CatalogFiltersProps> = ({
onFilterChange(groupName, filterName, e.target.checked)
}
data-test={`${groupName}-${_.kebabCase(filterName)}`}
{...dummyProps}
>
{label}
</FilterSidePanelCategoryItem>
Expand Down

0 comments on commit 633c6f0

Please sign in to comment.