Skip to content

Commit

Permalink
Merge pull request #304 from alleslabs/fix/token-card-format
Browse files Browse the repository at this point in the history
fix: show full number for token card
  • Loading branch information
evilpeach committed Apr 28, 2023
2 parents 70872af + cefa02f commit 8454469
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Improvements

- [#304](https://github.com/alleslabs/celatone-frontend/pull/304) Remove suffix for token card
- [#282](https://github.com/alleslabs/celatone-frontend/pull/282) Change details page top section explorer link to copy link
- [#293](https://github.com/alleslabs/celatone-frontend/pull/293) Add comma separator to pagination and total blocks
- [#291](https://github.com/alleslabs/celatone-frontend/pull/291) Update tx count query
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/TokenCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const TokenCard = ({

<Flex direction="column">
<Text fontWeight="700" variant="body2">
{formatUTokenWithPrecision(amount as U<Token>, precision)}
{formatUTokenWithPrecision(amount as U<Token>, precision, false)}
</Text>
<Text variant="body3" color="text.dark">
{price
Expand Down

2 comments on commit 8454469

@vercel
Copy link

@vercel vercel bot commented on 8454469 Apr 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 8454469 Apr 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.