Skip to content

Commit

Permalink
fix string toFixed #4712
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioamu committed Jun 28, 2019
1 parent 302f61a commit 461f013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/v2/js/user_popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const renderPopOverData = json => {
)}
</div>
<span class="earned">~ ${
json.profile.total_earned.toFixed(4)
Number(json.profile.total_earned).toFixed(4)
} ETH earned</span>
<div class="statistics d-flex justify-content-between mt-2">
<div class="popover_card text-center mr-4 pt-2">
Expand Down Expand Up @@ -58,7 +58,7 @@ const renderPopOverData = json => {
</div>
</div>
</div>
<div class="popover-bounty__footer">
<div class="d-flex justify-content-between">
<span class="title text-muted">Latest Activity
Expand Down

0 comments on commit 461f013

Please sign in to comment.