Skip to content

Commit

Permalink
feat(suite): ContractAddressWithTooltip in TokenSelect
Browse files Browse the repository at this point in the history
  • Loading branch information
enjojoy committed Oct 18, 2024
1 parent fc035ee commit 206e84f
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,18 @@ export const TokenSelect = ({ outputId }: TokenSelectProps) => {
</Text>
</Row>
<Row justifyContent="flex-start">
{option.contractAddress && (
{option.contractAddress && option.cryptoName && (
<ContractAddressWithTooltip
contractAddress={option.contractAddress}
tooltipTextTypographyStyle="label"
variant="tertiary"
gap={spacings.xxxs}
cryptoName={option.cryptoName}
networkName={
networks[
option.networkSymbol as NetworkSymbol
].name
}
/>
)}
</Row>
Expand Down

0 comments on commit 206e84f

Please sign in to comment.