HomePhabricator

[Cashtab] Stop showing [object Object] on agora offers yet to populate token…

Description

[Cashtab] Stop showing [object Object] on agora offers yet to populate token cache info

Summary:
We want to show an inline loader in this case. Current code is stringifying inline loaders inside a link.

Add a condition to show the loader instead of the stringified loader as link.

Test Plan:
npm test, see screenshot

before:

image.png (573×353 px, 27 KB)

after:

image.png (573×353 px, 21 KB)

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

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

Details

Provenance
bytesofmanAuthored on Sun, Dec 1, 06:28
bytesofmanPushed on Sun, Dec 1, 14:11
Reviewer
Restricted Project
Differential Revision
D17270: [Cashtab] Stop showing [object Object] on agora offers yet to populate token cache info
Parents
rABCbbdaafac5a27: [Automated] Update electrum checkpoints
Branches
Unknown
Tags
Unknown