From af22c56aa45abb9fc7e200077c80dcf587b818c1 Mon Sep 17 00:00:00 2001 From: Kristoffer Juelsen Date: Fri, 22 Apr 2022 09:46:36 +0200 Subject: [PATCH] Fixed countdown --- src/client/src/FrontPage.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/src/FrontPage.js b/src/client/src/FrontPage.js index b585e6c..ce9e93b 100644 --- a/src/client/src/FrontPage.js +++ b/src/client/src/FrontPage.js @@ -78,11 +78,11 @@ function TournamentListItem(props) { ) } else { return( - { 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 */} + Starts in: + { remainingDays > 0 ? {remainingDays} days : null } + { remainingHours > 0 ? {remainingHours} hours : null } + { remainingMins > 0 ? {remainingMins} mins : null } + { remainingSecs > 0 ? {remainingSecs} secs : null } ) }