Skip to content

Commit

Permalink
Merge pull request #77 from reflexer-labs/deployment
Browse files Browse the repository at this point in the history
fix red rate
  • Loading branch information
mstfash authored Feb 15, 2021
2 parents 91c551d + 22d2ed5 commit a263857
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/SafeStats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ const SafeStats = () => {
<Info size="16" />
</InfoIcon>
<Value>{`${
Number(currentRedemptionRate) > 0.001
? currentRedemptionRate
: '< 0.001'
Number(currentRedemptionRate) > 0 &&
Number(currentRedemptionRate) < 0.001
? '< 0.001'
: currentRedemptionRate
}%`}</Value>
<Label>{`8-Hourly Redemption Rate`}</Label>
</StateInner>
Expand Down

0 comments on commit a263857

Please sign in to comment.