Skip to content

Commit

Permalink
pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ziad-saab committed Nov 14, 2024
1 parent 286d1bc commit adac4da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion ui/pages/asset/asset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
}

.asset-page__spending-caps {
color: var(--color-primary-default);
text-decoration: none;

&:hover {
Expand Down
10 changes: 6 additions & 4 deletions ui/pages/asset/components/asset-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -267,30 +267,32 @@ const AssetPage = ({
t('tokenDecimal'),
<Text>{asset.decimals}</Text>,
)}
{asset.aggregators && asset.aggregators?.length > 0 && (
{asset.aggregators && asset.aggregators.length > 0 && (
<Box>
<Text
color={TextColor.textAlternative}
variant={TextVariant.bodyMdMedium}
>
{t('tokenList')}
</Text>
<Text>{asset.aggregators?.join(', ')}</Text>
<Text>{asset.aggregators.join(', ')}</Text>
</Box>
)}
</Box>
</Box>
)}
{renderRow(
t('spendingCaps'),
<a
<Text
as="a"
color={TextColor.primaryDefault}
className="asset-page__spending-caps mm-text--body-md-medium"
href={portfolioSpendingCapsUrl}
target="_blank"
rel="noopener noreferrer"
>
{t('editInPortfolio')}
</a>,
</Text>,
)}
</Box>
</Box>
Expand Down

0 comments on commit adac4da

Please sign in to comment.