Skip to content

Commit

Permalink
add counter to filters
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Oct 16, 2023
1 parent 1db67c5 commit 61d0460
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ui/address/AddressTxsFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const AddressTxsFilter = ({ onFilterChange, defaultFilter, isActive, isLoading }
isActive={ isOpen || isActive }
isLoading={ isInitialLoading }
onClick={ onToggle }
appliedFiltersNum={ isActive ? 1 : 0 }
as="div"
/>
</MenuButton>
Expand Down
1 change: 1 addition & 0 deletions ui/verifiedContracts/VerifiedContractsFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const VerifiedContractsFilter = ({ onChange, defaultValue, isActive }: Props) =>
<MenuButton>
<FilterButton
isActive={ isOpen || isActive }
appliedFiltersNum={ isActive ? 1 : 0 }
onClick={ onToggle }
as="div"
/>
Expand Down

0 comments on commit 61d0460

Please sign in to comment.