Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
ignore locale for unwrap input (#1192)
Browse files Browse the repository at this point in the history
  • Loading branch information
Velenir authored Jul 7, 2020
1 parent b8eb3a0 commit 9df2dc4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/components/WrapEtherBtn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,15 @@ const WrapUnwrapEtherBtn: React.FC<WrapUnwrapEtherBtnProps> = (props: WrapUnwrap
{amountFull} {symbolSource}
</span>
) : (
<a onClick={(): void => setValue(INPUT_ID_AMOUNT, formatAmountFull(balance), true)}>
<a
onClick={(): void =>
setValue(
INPUT_ID_AMOUNT,
formatAmountFull({ amount: balance, precision: DEFAULT_PRECISION, isLocaleAware: false }),
true,
)
}
>
{amountFull} {symbolSource}
</a>
)
Expand Down

0 comments on commit 9df2dc4

Please sign in to comment.