Skip to content

Commit

Permalink
format amount with commas (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoncalves authored Jan 14, 2025
1 parent f83ee13 commit e8397a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/proposals/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ const AddressInputComponent: InputValueComponent<'address'> = ({ value, htmlProp
)

const BigIntInputComponent: InputValueComponent<'bigint'> = ({ value, htmlProps }) => (
<Span {...(htmlProps as any)}>{formatBalanceToHuman(value)}</Span>
<Span {...(htmlProps as any)}>{formatNumberWithCommas(formatBalanceToHuman(value))}</Span>
)

const ERC20InputComponent: InputValueComponent<'bigint'> = ({ value, htmlProps }) => (
Expand Down

0 comments on commit e8397a7

Please sign in to comment.