HomePhabricator

[Cashtab] Do not render parenthesis around non-existent NFT tickers

Description

[Cashtab] Do not render parenthesis around non-existent NFT tickers

Summary:
A number of NFT collections do not have a ticker, so they are displayed with a mysterious '()'

Only show the parenthesis-wrapping around the ticker for tokens that have a ticker.

Test Plan:
npm test and check screenshots here

before:

image.png (249×142 px, 31 KB)

after:

image.png (249×156 px, 31 KB)

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

Differential Revision: https://reviews.bitcoinabc.org/D16804

Details

Provenance
bytesofmanAuthored on Sep 23 2024, 23:47
bytesofmanPushed on Sep 24 2024, 03:58
Reviewer
Restricted Project
Differential Revision
D16804: [Cashtab] Do not render parenthesis around non-existent NFT tickers
Parents
rABC8709248fcadf: [e.cash] Improve copy in Core-Tech segment on home
Branches
Unknown
Tags
Unknown