Skip to content

Commit

Permalink
fix(webapp): add space after dollar symbol and fix wrong title
Browse files Browse the repository at this point in the history
  • Loading branch information
Torresmorah committed Feb 9, 2023
1 parent 50337c6 commit 2bc60e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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 @@ -103,7 +103,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 @@ -115,7 +115,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
2 changes: 1 addition & 1 deletion webapp/src/routes/NonCompliantBPs/RewardsStats.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const RewardsStats = ({ stats }) => {
<div className={`${classes.cardHeader} ${classes.cardShadow}`}>
<div className={classes.rewardsCards}>
<Typography variant="h6" component="h4">
{t('dailyRewards')}
{t('yearlyRewards')}
</Typography>
<div className={classes.statsText}>
<Typography variant="h3" component="p" className={classes.price}>
Expand Down

0 comments on commit 2bc60e8

Please sign in to comment.