fix: remove unnecessary 'asChild' prop from FilterButton component (#16094)

### What problem does this PR solve?

fix: remove unnecessary 'asChild' prop from FilterButton component

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2026-06-16 17:55:04 +08:00
committed by GitHub
parent 1feb1c4785
commit cac87d7f77

View File

@@ -29,7 +29,6 @@ export const FilterButton = React.forwardRef<
<Button
variant="outline"
size={count > 0 ? 'default' : 'icon'}
asChild
{...props}
ref={ref}
>
@@ -123,7 +122,6 @@ export default function ListFilterBar({
<FilterButton count={filterCount}></FilterButton>
</FilterPopover>
)}
{showSearch && (
<SearchInput
value={searchString}