From e30e54bb1b32a05007dbbf420b6dc262925dae8f Mon Sep 17 00:00:00 2001 From: firerum Date: Fri, 20 Sep 2024 18:21:11 +0100 Subject: [PATCH] UI update that includes energy amount and symbol for energy dropdown --- components/layout/layout.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/components/layout/layout.tsx b/components/layout/layout.tsx index 584a50ee..d083a1da 100644 --- a/components/layout/layout.tsx +++ b/components/layout/layout.tsx @@ -153,7 +153,7 @@ export default function Layout({ children, className, hideNav, layoutStyles }: P - Select a token + Select Token {playerLands.map((land: any) => ( -
{land.metadata.name}
+ + {numeral(land?.energy).format('0.0a')} ⚡ + +
{land.metadata?.wraps.symbol}
))}