Page MenuHomePhabricator

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

Authored by bytesofman on Sun, Dec 1, 06:29.

Details

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)

Diff Detail

Repository
rABC Bitcoin ABC
Branch
no-loading-loading
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31462
Build 62422: Build Diffcashtab-tests
Build 62421: arc lint + arc unit

Event Timeline

bytesofman retitled this revision from [Cashtab] Stop showing [Loading loading] object on agora offers yet to populate token cache info to [Cashtab] Stop showing [Object Object] on agora offers yet to populate token cache info.Sun, Dec 1, 06:33
bytesofman published this revision for review.Sun, Dec 1, 06:33
bytesofman retitled this revision from [Cashtab] Stop showing [Object Object] on agora offers yet to populate token cache info to [Cashtab] Stop showing [object Object] on agora offers yet to populate token cache info.
This revision is now accepted and ready to land.Sun, Dec 1, 14:03