From 436cecf0f52e431ecd2514b381cf31047b76d1fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Santana=20Gon=C3=A7alves?= Date: Tue, 14 Jan 2025 15:33:22 -0300 Subject: [PATCH] format amount with commas --- src/pages/proposals/[id].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/proposals/[id].tsx b/src/pages/proposals/[id].tsx index 47d0d5cd..bd82c3ed 100644 --- a/src/pages/proposals/[id].tsx +++ b/src/pages/proposals/[id].tsx @@ -584,7 +584,7 @@ const AddressInputComponent: InputValueComponent<'address'> = ({ value, htmlProp ) const BigIntInputComponent: InputValueComponent<'bigint'> = ({ value, htmlProps }) => ( - {formatBalanceToHuman(value)} + {formatNumberWithCommas(formatBalanceToHuman(value))} ) const ERC20InputComponent: InputValueComponent<'bigint'> = ({ value, htmlProps }) => (