-
Value:{" "}
-
{formatPrice(formatUnits(totalValue, reserveDecimals))} {RESERVE_LABEL}
- {plotUsd &&
({formatUsdValue(Number(formatUnits(totalValue, reserveDecimals)) * plotUsd)})}
+
+
+
{formatPrice(formatUnits(totalValue, reserveDecimals))}
+
{RESERVE_LABEL}
-
Tokens: {holdings!.length}
- {bestPick && bestPick.priceChange !== null && (
-
-
Best 24h:{" "}
-
- {bestPick.storyline.title.slice(0, 20)}{bestPick.storyline.title.length > 20 ? "..." : ""}
-
-
= 0 ? "text-accent" : "text-error"}`}>
- {bestPick.priceChange >= 0 ? "+" : ""}{bestPick.priceChange.toFixed(1)}%
-
+
+
{plotUsd ? formatUsdValue(Number(formatUnits(totalValue, reserveDecimals)) * plotUsd) : "—"}
+
USD
+
+
+
{holdings!.length}
+
Holdings
+
+
+
= 0 ? "text-accent" : "text-error") : "text-foreground"}`}>
+ {bestPick && bestPick.priceChange !== null ? `${bestPick.priceChange >= 0 ? "+" : ""}${bestPick.priceChange.toFixed(1)}%` : "—"}
- )}
+
Best 24h
+
>
@@ -1518,21 +1519,17 @@ function PortfolioTab({ address, isOwnProfile }: { address: string; isOwnProfile
{(hasDonationsReceived || (isOwnProfile && hasDonationsGiven)) && (
Donations
-
+
{hasDonationsReceived && (
-
-
Received:{" "}
-
{formatPrice(formatUnits(donationsReceived!.total, 18))} {RESERVE_LABEL}
- {plotUsd != null &&
({formatUsdValue(Number(formatUnits(donationsReceived!.total, 18)) * plotUsd)})}
-
from {donationsReceived!.count} {donationsReceived!.count === 1 ? "donation" : "donations"}
+
+
{formatPrice(formatUnits(donationsReceived!.total, 18))}
+
Received · {donationsReceived!.count}
)}
{isOwnProfile && hasDonationsGiven && (
-
-
Given:{" "}
-
{formatPrice(formatUnits(totalDonated, 18))} {RESERVE_LABEL}
- {plotUsd != null && totalDonated > BigInt(0) &&
({formatUsdValue(Number(formatUnits(totalDonated, 18)) * plotUsd)})}
-
· {donationTotalCount} {donationTotalCount === 1 ? "donation" : "donations"}
+
+
{formatPrice(formatUnits(totalDonated, 18))}
+
Given · {donationTotalCount}
)}