mirror of
https://github.com/block/bitcoin-treasury.git
synced 2025-06-23 16:05:27 +00:00
add row showing holding in BTC
This commit is contained in:
parent
91abce661e
commit
497f9aea60
@ -26,6 +26,7 @@ const getLoadingRows = (displayLength: number) => [
|
|||||||
{ value: "", length: displayLength },
|
{ value: "", length: displayLength },
|
||||||
{ value: "", length: displayLength },
|
{ value: "", length: displayLength },
|
||||||
{ value: "", length: displayLength },
|
{ value: "", length: displayLength },
|
||||||
|
{ value: "", length: displayLength },
|
||||||
];
|
];
|
||||||
|
|
||||||
function HomeContent() {
|
function HomeContent() {
|
||||||
@ -73,13 +74,14 @@ function HomeContent() {
|
|||||||
{ value: ` ${ticker}`, length: displayLength },
|
{ value: ` ${ticker}`, length: displayLength },
|
||||||
{ value: "", length: displayLength },
|
{ value: "", length: displayLength },
|
||||||
{ value: " TOTAL HOLDING", length: displayLength },
|
{ value: " TOTAL HOLDING", length: displayLength },
|
||||||
|
{ value: ` BTC ${holding}`, length: displayLength },
|
||||||
{ value: ` ${holdingDisplay}`, length: displayLength },
|
{ value: ` ${holdingDisplay}`, length: displayLength },
|
||||||
{ value: "", length: displayLength },
|
{ value: "", length: displayLength },
|
||||||
{ value: " BTC PRICE", length: displayLength },
|
{ value: " BTC PRICE", length: displayLength },
|
||||||
{ value: ` ${displayValue}`, length: displayLength },
|
{ value: ` ${displayValue}`, length: displayLength },
|
||||||
{ value: "", length: displayLength },
|
{ value: "", length: displayLength },
|
||||||
],
|
],
|
||||||
[ticker, holdingDisplay, displayValue, displayLength]
|
[ticker, holdingDisplay, holding, displayValue, displayLength]
|
||||||
);
|
);
|
||||||
|
|
||||||
// Current board rows based on loading state and animation progress
|
// Current board rows based on loading state and animation progress
|
||||||
|
Loading…
x
Reference in New Issue
Block a user