From d135b794c6b31fc4c63ec927fc597db71b3e0d8f Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Fri, 27 Mar 2026 17:33:11 +0000 Subject: [PATCH] [#301] Clean up token page and show USD balance Remove the "How to Get PLOT" section. Add USD equivalent below the PLOT balance amount using the existing token price data from useTokenInfo(). Only shown when balance > 0 and price is available. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/token/page.tsx | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/src/app/token/page.tsx b/src/app/token/page.tsx index 93e2d29a..1a40ed06 100644 --- a/src/app/token/page.tsx +++ b/src/app/token/page.tsx @@ -75,6 +75,14 @@ export default function TokenPage() { })}{" "} PLOT + {tokenInfo?.price && parseFloat(formattedBalance) > 0 && ( +
+ ${(parseFloat(formattedBalance) * tokenInfo.price).toLocaleString(undefined, { + minimumFractionDigits: 2, + maximumFractionDigits: 2, + })} USD +
+ )} )} @@ -107,31 +115,6 @@ export default function TokenPage() { {/* Swap Interface */} - {/* How to Get PLOT */} -
-

How to Get PLOT

-
-
- -

- Buy via Mint Club — purchase PLOT on the bonding curve using HUNT tokens. -

-
-
- -

- Sell story tokens — selling any storyline token returns PLOT to your wallet. -

-
-
- -

- Use the Zap — buy story tokens with ETH or HUNT and the zap contract handles PLOT conversion automatically. -

-
-
-
- {/* Token Information */}

Token Information