hide timer when instance not in progress

This commit is contained in:
ntr 2019-09-15 16:00:24 +10:00
parent 901f04ef40
commit 21170285c2

View File

@ -76,7 +76,9 @@ function Controls(args) {
background: displayColour,
};
const timer = (
const timer = instance.phase !== 'InProgress'
? null
: (
<div class="timer-container">
<div class="timer" style={timerStyles} >&nbsp;</div>
</div>