Fixed countdown
This commit is contained in:
parent
5de7ab0daa
commit
af22c56aa4
|
@ -78,11 +78,11 @@ function TournamentListItem(props) {
|
||||||
</Box>)
|
</Box>)
|
||||||
} else {
|
} else {
|
||||||
return(<Box>
|
return(<Box>
|
||||||
{ remainingDays > 0 ? <Typography variant="body"> {remainingDays} days </Typography> : null }
|
<Typography variant="body"> Starts in: </Typography>
|
||||||
{ remainingHours > 0 ? <Typography variant="body"> {remainingHours} hours </Typography> : null }
|
{ remainingDays > 0 ? <Typography variant="body"> {remainingDays} days</Typography> : null }
|
||||||
{ remainingMins > 0 ? <Typography variant="body"> {remainingMins} mins </Typography> : null }
|
{ remainingHours > 0 ? <Typography variant="body"> {remainingHours} hours</Typography> : null }
|
||||||
{ remainingSecs > 0 ? <Typography variant="body"> {remainingSecs} secs </Typography> : null }
|
{ remainingMins > 0 ? <Typography variant="body"> {remainingMins} mins</Typography> : null }
|
||||||
{/* <Typography variant="body"> Starts in: {remainingDays} Days, {remainingHours} Hours, {remainingMins} Minutes and {remainingSecs} Seconds </Typography> */}
|
{ remainingSecs > 0 ? <Typography variant="body"> {remainingSecs} secs</Typography> : null }
|
||||||
</Box>
|
</Box>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue