mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-07 12:00:44 +08:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user