Skip to content

Commit

Permalink
Round token supply number in token list
Browse files Browse the repository at this point in the history
  • Loading branch information
buberdds committed Jul 11, 2023
1 parent 9f42be1 commit d4a3e50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changelog/703.trivial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Round token supply number in token list
3 changes: 2 additions & 1 deletion src/app/components/Tokens/TokenList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { FC } from 'react'
import Typography from '@mui/material/Typography'
import { COLORS } from '../../../styles/theme/colors'
import { SxProps } from '@mui/material/styles'
import { RoundedBalance } from '../RoundedBalance'

type TokensProps = {
tokens?: EvmToken[]
Expand Down Expand Up @@ -129,7 +130,7 @@ export const TokenList = (props: TokensProps) => {
align: TableCellAlign.Right,
},
{
content: token.total_supply,
content: <RoundedBalance value={token.total_supply} ticker={token.symbol} />,
key: 'supply',
align: TableCellAlign.Right,
},
Expand Down

0 comments on commit d4a3e50

Please sign in to comment.