From 00f522096ed2e8c447689d10d39b83041eb7a8d1 Mon Sep 17 00:00:00 2001 From: Trevor Porter Date: Fri, 6 Dec 2024 11:37:19 -0700 Subject: [PATCH] feat: set the balance to 5 decimals --- src/features/transfer/TransferTokenForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/transfer/TransferTokenForm.tsx b/src/features/transfer/TransferTokenForm.tsx index 68f50121..4318670f 100644 --- a/src/features/transfer/TransferTokenForm.tsx +++ b/src/features/transfer/TransferTokenForm.tsx @@ -222,7 +222,7 @@ function RecipientSection({ isReview }: { isReview: boolean }) { } function TokenBalance({ label, balance }: { label: string; balance?: TokenAmount | null }) { - const value = balance?.getDecimalFormattedAmount().toFixed(4) || '0'; + const value = balance?.getDecimalFormattedAmount().toFixed(5) || '0'; return
{`${label}: ${value}`}
; }