Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
fix: use undefined for tertiary label before maturity to prevent "-" …
Browse files Browse the repository at this point in the history
…render (#582)
  • Loading branch information
marcomariscal committed Jun 6, 2022
1 parent 0a6a22f commit 7af8a84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -151,7 +151,7 @@ export class ArbitrumYieldProtocolLendTokenFetcher implements PositionFetcher<Ap
const displayProps: DisplayProps = {
label: `fy${underlyingToken.symbol}`,
secondaryLabel: displayName,
tertiaryLabel: matured ? 'Matured' : '',
tertiaryLabel: matured ? 'Matured' : undefined,
images: getImagesFromToken(underlyingToken),
};

Expand Down
Expand Up @@ -155,7 +155,7 @@ export class EthereumYieldProtocolLendTokenFetcher implements PositionFetcher<Ap
const displayProps: DisplayProps = {
label: `fy${underlyingToken.symbol}`,
secondaryLabel: displayName,
tertiaryLabel: matured ? 'Matured' : '',
tertiaryLabel: matured ? 'Matured' : undefined,
images: getImagesFromToken(underlyingToken),
};

Expand Down

0 comments on commit 7af8a84

Please sign in to comment.