HomePhabricator

[e.cash] Better handle price api response

Description

[e.cash] Better handle price api response

Summary:
Got a NaN displayed from broken price api.
Adding a check to make sure the price value is a number before setting it

Test Plan: npm run dev

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

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

Details

Provenance
johnkuneyAuthored on Fri, Dec 6, 16:39
johnkuneyPushed on Fri, Dec 6, 20:07
Reviewer
Restricted Project
Differential Revision
D17307: [e.cash] Better handle price api response
Parents
rABC41a72fe465f1: [cashtab] Cleanup theme file
Branches
Unknown
Tags
Unknown