From 40ffe3ed62b54421d35423a01ef7f6a43d1a2a27 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Sat, 2 Jul 2022 12:59:22 +0200 Subject: [PATCH] Fix reload interval --- pages/tournament-fullscreen.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pages/tournament-fullscreen.js b/pages/tournament-fullscreen.js index 16204bf..b5dd732 100644 --- a/pages/tournament-fullscreen.js +++ b/pages/tournament-fullscreen.js @@ -53,11 +53,8 @@ function FilterDropdown(props) { function FullscreenPageHeader(props) { return ( - + {props.title} - - Turnier-Code: {props.code} - ); } @@ -99,7 +96,7 @@ class Main extends React.Component { const tournamentId = this.props.query.code; getTournamentMeta(tournamentId, this.onTournamentRequestSuccess, this.onTournamentRequestError); this.updateMatches(); - const intervalId = setInterval(this.updateMatches, 3000); + const intervalId = setInterval(this.updateMatches, 10000); this.setState({intervalId: intervalId}); }