minor revert

This commit is contained in:
Jonas Haugland 2022-04-22 17:27:17 +02:00
parent 18bc7d9561
commit 779393e1af
1 changed files with 0 additions and 1 deletions

View File

@ -23,7 +23,6 @@ let submitChanges = curryTournamentId => event => {
// let tournamentImageFile = document.getElementById("editImage").files[0]; // let tournamentImageFile = document.getElementById("editImage").files[0];
let tournamentStartDate = document.getElementById("editStartDate").value; let tournamentStartDate = document.getElementById("editStartDate").value;
let tournamentEndDate = document.getElementById("editEndDate").value; let tournamentEndDate = document.getElementById("editEndDate").value;
let showError;
if (!tournamentName || tournamentName === "") { if (!tournamentName || tournamentName === "") {
showError("Tournament name cannot be empty"); showError("Tournament name cannot be empty");