Skip to content

Commit

Permalink
fix(token_format): incorrect end bracket placement
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajpiar committed Oct 24, 2024
1 parent 24f5638 commit 10f365d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/treasury/TokenHoldings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const TokenHoldings = ({ symbol }: TokenHoldingsProps) => {
</Paragraph>
{prices[symbol] && (
<Paragraph size="small" className="text-zinc-500">
= USD {formatCurrency(prices[symbol].price * Number(bucketsTotal[symbol]) ?? 0)}
= USD {formatCurrency(prices[symbol].price * Number(bucketsTotal[symbol])) ?? 0}
</Paragraph>
)}
</>
Expand Down
2 changes: 1 addition & 1 deletion src/app/treasury/TokenHoldingsStRIF.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const TokenHoldingsStRIF = () => {
<Paragraph size="small">{toFixed(balance)} stRIF</Paragraph>
{prices[symbol] && (
<Paragraph size="small" className="text-zinc-500">
= USD {formatCurrency(prices[symbol].price * Number(balance) ?? 0)}
= USD {formatCurrency(prices[symbol].price * Number(balance)) ?? 0}
</Paragraph>
)}
</>
Expand Down
2 changes: 1 addition & 1 deletion src/app/user/Balances/RenderTotalBalance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const RenderTotalBalance = ({ symbol }: Props) => {
</Paragraph>
{prices[symbol] && (
<Paragraph size="small" className="text-zinc-500">
= USD {formatCurrency(prices[symbol].price * Number(token.balance) ?? 0)}
= USD {formatCurrency(prices[symbol].price * Number(token.balance)) ?? 0}
</Paragraph>
)}
</>
Expand Down

0 comments on commit 10f365d

Please sign in to comment.