diff --git a/src/client/src/FrontPage.js b/src/client/src/FrontPage.js index 6519fce..b585e6c 100644 --- a/src/client/src/FrontPage.js +++ b/src/client/src/FrontPage.js @@ -78,7 +78,11 @@ function TournamentListItem(props) { ) } else { return( - Starts in: {remainingDays} Days, {remainingHours} Hours, {remainingMins} Minutes and {remainingSecs} Seconds + { remainingDays > 0 ? {remainingDays} days : null } + { remainingHours > 0 ? {remainingHours} hours : null } + { remainingMins > 0 ? {remainingMins} mins : null } + { remainingSecs > 0 ? {remainingSecs} secs : null } + {/* Starts in: {remainingDays} Days, {remainingHours} Hours, {remainingMins} Minutes and {remainingSecs} Seconds */} ) }