From 1d7d7f881fde050eeb179c6d2cea93574cf730ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20C=2E=20Morency?= <1102868+fmorency@users.noreply.github.com> Date: Wed, 13 Nov 2024 16:22:35 -0500 Subject: [PATCH] fix: factory page rendering (#36) --- components/factory/components/MyDenoms.tsx | 36 +++++++++------------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/components/factory/components/MyDenoms.tsx b/components/factory/components/MyDenoms.tsx index 631d0e02..59d77964 100644 --- a/components/factory/components/MyDenoms.tsx +++ b/components/factory/components/MyDenoms.tsx @@ -149,11 +149,10 @@ export default function MyDenoms({ - - - - - + + + + @@ -162,22 +161,19 @@ export default function MyDenoms({ .fill(0) .map((_, index) => ( - - - @@ -301,23 +297,19 @@ function TokenRow({ - - - +
TokenSymbolTotal SupplyYour BalanceActionsToken SymbolNameTotal SupplyActions
+
-
-
+
- {truncateString(denom.display, 24)} -
-
{truncateString(denom.symbol, 20)} -
- {formatAmount(totalSupply)} - - {truncateString(denom?.display ?? '', 10).toUpperCase()} + + {truncateString(denom?.display ?? 'No ticker provided', 24).toUpperCase()}
+ + {truncateString(denom?.name ?? 'No name provided', 20)} +
- {formatAmount(balance)} + {formatAmount(totalSupply)} - {truncateString(denom?.display ?? '', 10).toUpperCase()} + {truncateString(denom?.display ?? 'No ticker provided', 10).toUpperCase()}