Skip to content

Commit

Permalink
chore(webapp): remove space after dollar sign
Browse files Browse the repository at this point in the history
  • Loading branch information
Torresmorah committed Feb 14, 2023
1 parent fa389bd commit baf8c62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions webapp/src/components/NonCompliantCard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const NonCompliantCard = ({ producer, stats }) => {
<Typography variant="overline">{t('dailyRewards')}</Typography>
<RowInfo
title={`${t('rewards')} (USD)`}
value={`$ ${formatWithThousandSeparator(
value={`$${formatWithThousandSeparator(
producer.total_rewards * stats.tokenPrice,
0,
)}`}
Expand All @@ -113,7 +113,7 @@ const NonCompliantCard = ({ producer, stats }) => {
<Typography variant="overline">{t('yearlyRewards')}</Typography>
<RowInfo
title={`${t('rewards')} (USD)`}
value={`$ ${formatWithThousandSeparator(
value={`$${formatWithThousandSeparator(
producer.total_rewards * 365 * stats.tokenPrice,
0,
)}`}
Expand Down
4 changes: 2 additions & 2 deletions webapp/src/routes/NonCompliantBPs/RewardsStats.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const RewardsStats = ({ stats }) => {
}`}
</Typography>
<Typography variant="h3" component="p" className={classes.price}>
{`$ ${formatWithThousandSeparator(
{`$${formatWithThousandSeparator(
stats.dailyRewards * stats.tokenPrice,
0,
)} USD`}
Expand All @@ -59,7 +59,7 @@ const RewardsStats = ({ stats }) => {
}`}
</Typography>
<Typography variant="h3" component="p" className={classes.price}>
{`$ ${formatWithThousandSeparator(
{`$${formatWithThousandSeparator(
stats.yearlyRewards * stats.tokenPrice,
0,
)} USD`}
Expand Down

0 comments on commit baf8c62

Please sign in to comment.