diff --git a/src/components/BlockReward.vue b/src/components/BlockReward.vue index 9b11a1e..b20b131 100644 --- a/src/components/BlockReward.vue +++ b/src/components/BlockReward.vue @@ -112,7 +112,7 @@ export default { const currentSbdSupply = dgp.current_sbd_supply.split(' '); // Percent SBD const tmpSbdSupply = currentSbdSupply[0] / currentMedianPrice; - const percentSbd = tmpSbdSupply / (currentSupply[0] + tmpSbdSupply); + const percentSbd = tmpSbdSupply / (parseInt(currentSupply[0], 10) + tmpSbdSupply); // Display the data this.data = [