Skip to content

Commit

Permalink
fix: revert XS buttonIcon change
Browse files Browse the repository at this point in the history
  • Loading branch information
sahar-fehri committed Sep 17, 2024
1 parent fa835b1 commit 9fe85dd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion ui/components/app/wallet-overview/coin-overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export const CoinOverview = ({
{t('yourBalanceIsAggregated')}
</Text>
<ButtonIcon
size={ButtonIconSize.Xs}
size={ButtonIconSize.Sm}
onClick={handleClick}
iconName={IconName.Close}
justifyContent={JustifyContent.center}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const buttonIconSizeToIconSize: Record<ButtonIconSize, IconSize> = {
[ButtonIconSize.Sm]: IconSize.Sm,
[ButtonIconSize.Md]: IconSize.Md,
[ButtonIconSize.Lg]: IconSize.Lg,
[ButtonIconSize.Xs]: IconSize.Xs,
};

export const ButtonIcon: ButtonIconComponent = React.forwardRef(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export enum ButtonIconSize {
Sm = 'sm',
Md = 'md',
Lg = 'lg',
Xs = 'Xs',
}

/**
Expand Down

0 comments on commit 9fe85dd

Please sign in to comment.