add row showing holding in BTC

This commit is contained in:
Andrew Parker 2025-04-10 22:16:54 +09:00
parent 91abce661e
commit 497f9aea60

View File

@ -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