diff --git a/pages/tournament-fullscreen.js b/pages/tournament-fullscreen.js index 9144772..418c1d8 100644 --- a/pages/tournament-fullscreen.js +++ b/pages/tournament-fullscreen.js @@ -141,12 +141,7 @@ class Main extends React.Component { updateTimerEnd() { const tournamentId = this.props.query.code; getTournamentTimerEnd(tournamentId, (status, timerEnd) => { - const now = new Date(); - if (timerEnd > now) { - this.setState({timerEnd: timerEnd}); - } else { - this.setState({timerEnd: null}); - } + this.setState({timerEnd: timerEnd}); }, error => { console.error('Failed to fetch timer end:', error); });