From e6af7cc0dc75b997f46282f6b00a95b22829bc42 Mon Sep 17 00:00:00 2001 From: Marco van Dijk Date: Sun, 8 May 2022 17:19:38 +0200 Subject: [PATCH] Lets see if this fixes things --- src/components/RoundViewer.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/RoundViewer.js b/src/components/RoundViewer.js index bc8492e..dbe3467 100644 --- a/src/components/RoundViewer.js +++ b/src/components/RoundViewer.js @@ -51,7 +51,7 @@ const Round = (obj) => {

{ - obj.round.mintableTokens ? + obj.round.mintableTokens && obj.round.mintableTokens > 0 ?

Has {obj.round.mintableTokens.toFixed(2)} mintable tokens @@ -59,7 +59,7 @@ const Round = (obj) => {

: null } { - obj.round.volumeEth && obj.round.volumeUsd ? + obj.round.volumeEth && obj.round.volumeUsd && obj.round.volumeEth > 0 && obj.round.volumeUsd > 0 ?

A volume of {obj.round.volumeEth.toFixed(2)} Eth ({obj.round.volumeUsd.toFixed(2)}$) @@ -67,7 +67,7 @@ const Round = (obj) => {

: null } { - obj.round.totalSupply && obj.round.totalActiveStake ? + obj.round.totalSupply && obj.round.totalActiveStake && obj.round.totalSupply > 0 && obj.round.totalActiveStake > 0 ?

A total supply of {obj.round.totalSupply.toFixed(2)} LPT, of which {obj.round.totalActiveStake.toFixed(2)} is staked ({(obj.round.participationRate * 100).toFixed(2)}%) @@ -75,7 +75,7 @@ const Round = (obj) => {

: null } { - obj.round.newStake ? + obj.round.newStake && obj.round.newStake > 0 ?

{obj.round.newStake.toFixed(2)} LPT new stake @@ -83,7 +83,7 @@ const Round = (obj) => {

: null } { - obj.round.movedStake ? + obj.round.movedStake && obj.round.movedStake > 0 ?

{obj.round.movedStake.toFixed(2)} LPT stake moved around