Update the -- UI per request

This commit is contained in:
Christos Maris
2025-01-02 22:49:26 +02:00
parent 4fe024c05d
commit 474de0b315
2 changed files with 2 additions and 2 deletions

View File

@@ -136,7 +136,7 @@ function PercentageChange({
if (!chartPriceStats) {
if (currentBalance.eq(0) && oldBalance.eq(0) && displayTimeInterval) return null;
if (currentBalance.eq(0) || oldBalance.eq(0)) return <NoDataText />;
if (currentBalance.eq(0) || oldBalance.eq(0)) return null;
}
const priceChangePercentage24h = chartPriceStats?.change

View File

@@ -163,7 +163,7 @@ function TokenTile({
fungibleToken,
);
return fiatAmount ? BigNumber(fiatAmount) : undefined;
return fiatAmount ? BigNumber(fiatAmount) : BigNumber(0);
};
const fiatAmount = getFiatAmount();