From 779393e1afa09c522aee2b34afcd76b9f89d34fc Mon Sep 17 00:00:00 2001 From: Jonas Haugland Date: Fri, 22 Apr 2022 17:27:17 +0200 Subject: [PATCH] minor revert --- src/client/src/TournamentManager.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client/src/TournamentManager.js b/src/client/src/TournamentManager.js index 3be613b..5ff4e41 100644 --- a/src/client/src/TournamentManager.js +++ b/src/client/src/TournamentManager.js @@ -23,7 +23,6 @@ let submitChanges = curryTournamentId => event => { // let tournamentImageFile = document.getElementById("editImage").files[0]; let tournamentStartDate = document.getElementById("editStartDate").value; let tournamentEndDate = document.getElementById("editEndDate").value; - let showError; if (!tournamentName || tournamentName === "") { showError("Tournament name cannot be empty");