From 4b177f51392148d7042b0babadeb1e7972e70663 Mon Sep 17 00:00:00 2001 From: banklesss <105349292+banklesss@users.noreply.github.com> Date: Sun, 22 Sep 2024 16:27:35 +0200 Subject: [PATCH] Update apps/wallet-mobile/src/features/ReviewTx/common/hooks/useFormattedTx.tsx Signed-off-by: banklesss <105349292+banklesss@users.noreply.github.com> --- .../src/features/ReviewTx/common/hooks/useFormattedTx.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/wallet-mobile/src/features/ReviewTx/common/hooks/useFormattedTx.tsx b/apps/wallet-mobile/src/features/ReviewTx/common/hooks/useFormattedTx.tsx index 5773e15efb..bbc5165336 100644 --- a/apps/wallet-mobile/src/features/ReviewTx/common/hooks/useFormattedTx.tsx +++ b/apps/wallet-mobile/src/features/ReviewTx/common/hooks/useFormattedTx.tsx @@ -114,11 +114,11 @@ const formatInputs = async ( .map((a) => { const tokenInfo = portfolioTokenInfos.tokenInfos?.get(a.assetId as Portfolio.Token.Id) if (!tokenInfo) return null - const quantity = asQuantity(a.amount) + return { name: infoExtractName(tokenInfo), label: formatTokenWithText(quantity, tokenInfo), - quantity, + quantity: asQuantity(a.amount), isPrimary: false, } })