Skip to content

Commit

Permalink
Update poh-new-info.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yugn27 authored Oct 24, 2020
1 parent 460749b commit 08e5cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poh-new-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ function updateData () {
$('.poh-balance').text(r.div(1e18).toNumber().toLocaleString())
contract.calculateEthereumReceived(r, function (e, r) {
let bal = convertWeiToEth(r)
$('.poh-value').text(bal.toFixed(4))
$('.poh-value').text(bal.toFixed(4)+" ETH")
$('.poh-value-usd').text(Number((convertWeiToEth(r * 1) * ethPrice).toFixed(2)).toLocaleString() + ' ' + currency + '')
if (tokenBalance !== 0) {
if (bal > tokenBalance) {
Expand Down

0 comments on commit 08e5cb4

Please sign in to comment.