Skip to content

Commit 339984f

Browse files
committed
Remove redundant activeFilterCount styling logic from search filter component
1 parent f03b66b commit 339984f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

web/components/filters/search.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,6 @@ export const Search = forwardRef<
175175
size="sm"
176176
className={clsx(
177177
'!h-10 !rounded-full border border-canvas-200',
178-
// With the panel closed there was nothing on screen saying the grid is a filtered
179-
// view, so an active count tints the button and rides along as a badge.
180-
activeFilterCount > 0 && '!border-primary-200 !bg-primary-50 !text-primary-700',
181178
highlightFilters &&
182179
'border-primary-500 ring-2 ring-primary-300 bg-primary-50 text-primary-700',
183180
)}

0 commit comments

Comments
 (0)