HomePhabricator

[Cashtab] BalanceHeaderFiat component handles null value for fiatPrice

Description

[Cashtab] BalanceHeaderFiat component handles null value for fiatPrice

Summary: Related to task T2314. Removed conditional logic from Send.js which handled rendering the BalanceHeaderFiat component and moved it into the BalanceFiat component.

Test Plan:
cd web/cashtab
npm start
from the wallet tab, observe the BalanceHeaderFiat component.
ctrl + refresh the page, observe the BalanceHeaderFiat component render as the api fetches the fiatPrice.

Reviewers: bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

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

Details

Provenance
kieran709Authored on Mar 16 2022, 19:35
kieran709Pushed on Mar 17 2022, 14:37
Reviewer
Restricted Project
Differential Revision
D11199: [Cashtab] BalanceHeaderFiat component handles null value for fiatPrice
Parents
rABC7176fb75a43a: validation: Remove global ::VersionBitsTip{State,SinceHeight,Statistics}
Branches
Unknown
Tags
Unknown