Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1939 from bandprotocol/1488-use-format-for-pretti…
Browse files Browse the repository at this point in the history
…er-amount

Scan: use `Format` on user balance
  • Loading branch information
Sawit Trisirisatayawong authored Jun 17, 2020
2 parents da74faa + edc0528 commit cab5882
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
- (chore) [\#1987](https://github.com/bandprotocol/bandchain/pull/1987) Remove `request_tab_t` in `Route.re`
- (impv) [\#1986](https://github.com/bandprotocol/bandchain/pull/1986) Add autofocus input on submittx modal
- (impv) [\#1958](https://github.com/bandprotocol/bandchain/pull/1958) Add human-readable error when broadcast tx, fix withdraw reward msg on guanyu
- (impv) [\#1939](https://github.com/bandprotocol/bandchain/pull/1939) Use Format.re on user balance
- (feat) [\#1938](https://github.com/bandprotocol/bandchain/pull/1938) Add validator's image from identity
- (impv) [\#1928](https://github.com/bandprotocol/bandchain/pull/1928) Add chainID for guanyu-devnet
- (impv) [\#1925](https://github.com/bandprotocol/bandchain/pull/1925) Removed input field for unused oracle script input
Expand Down
2 changes: 1 addition & 1 deletion scan/src/components/UserAccount.re
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ module Balance = {

<div className=Styles.balanceContainer>
<Text
value={account.balance |> Coin.getBandAmountFromCoins |> Js.Float.toString}
value={account.balance |> Coin.getBandAmountFromCoins |> Format.fPretty(~digits=6)}
code=true
size=Text.Sm
height={Text.Px(13)}
Expand Down

0 comments on commit cab5882

Please sign in to comment.