Skip to content

Commit

Permalink
Removing className and updating to use strong tags
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewrmarshall committed May 14, 2023
1 parent 3a6bb41 commit 313840a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 0 additions & 4 deletions ui/components/app/set-approval-for-all-warning/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
&__account {
border-bottom: 1px solid var(--color-border-muted);
}

&__bold {
color: var(--color-text-default);
}
}

&__footer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const SetApproveForAllWarning = ({
marginLeft={2}
className="set-approval-for-all-warning__content__account-name"
>
<b>{name}</b> {` (${shortenAddress(senderAddress)})`}
<strong>{name}</strong> {` (${shortenAddress(senderAddress)})`}
</Text>
</Box>
{isERC721 && total && <Text>{`${t('total')}: ${total}`}</Text>}
Expand All @@ -97,10 +97,7 @@ const SetApproveForAllWarning = ({
as="h6"
>
{t('nftWarningContent', [
<strong
key="non_custodial_bold"
className="set-approval-for-all-warning__content__bold"
>
<strong key="non_custodial_bold">
{t('nftWarningContentBold', [collectionName || ''])}
</strong>,
<strong key="non_custodial_grey">
Expand Down

0 comments on commit 313840a

Please sign in to comment.