Skip to content

Commit

Permalink
fix(react): include space between native balance and symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
gregfromstl committed Sep 23, 2024
1 parent 2d34771 commit cc75db6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/stale-suns-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---

Fix spacing in native balance label on connect UI
4 changes: 2 additions & 2 deletions packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export const ConnectedWalletDetails: React.FC<{
color="secondaryText"
weight={400}
>
{formatBalanceOnButton(Number(balanceQuery.data.displayValue))}
{formatBalanceOnButton(Number(balanceQuery.data.displayValue))}{" "}
{balanceQuery.data.symbol}
</Text>
) : (
Expand Down Expand Up @@ -366,7 +366,7 @@ function DetailsModal(props: {
formatNumber(Number(balanceQuery.data.displayValue), 5)
) : (
<Skeleton height="1em" width="100px" />
)}
)}{" "}
{balanceQuery.data?.symbol}
</Text>
</Text>
Expand Down

0 comments on commit cc75db6

Please sign in to comment.