Skip to content

Commit

Permalink
Only show up to 6 decimals on the tokens view
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunnini committed Apr 20, 2021
1 parent 0725671 commit 84ab794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/extension/src/pages/main/token.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const TokenView: FunctionComponent<{
<div className={styleToken.content}>
<div className={styleToken.name}>{name}</div>
<div className={styleToken.amount}>
{amount.toString()}
{amount.maxDecimals(6).toString()}
{balance.isFetching ? (
<i className="fas fa-spinner fa-spin ml-1" />
) : null}
Expand Down

0 comments on commit 84ab794

Please sign in to comment.