Skip to content

Commit

Permalink
fixup! feat(suite): nft support
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasklim committed Mar 27, 2023
1 parent b2f5931 commit a06065c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions packages/suite/src/components/suite/FormattedNftAmount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Symbol = styled.div`
max-width: 120px;
`;

const ID = styled.span`
const Id = styled.span`
white-space: nowrap;
`;

Expand Down Expand Up @@ -68,17 +68,16 @@ export const FormattedNftAmount = ({
return (
<HiddenPlaceholder>
<Container className={className}>
{!!signValue && <Sign value={signValue} />}

<ID>ID&nbsp;</ID>

{signValue ? <Sign value={signValue} /> : null}
<Id>ID</Id>
&nbsp;
{useLink ? (
<StyledTrezorLink href={explorerUrl}>{id}</StyledTrezorLink>
) : (
<NoLink>{id}</NoLink>
)}

<Symbol>&nbsp;{transfer.symbol}</Symbol>
&nbsp;
<Symbol>{transfer.symbol}</Symbol>
</Container>
</HiddenPlaceholder>
);
Expand Down

0 comments on commit a06065c

Please sign in to comment.