minor revert
This commit is contained in:
parent
18bc7d9561
commit
779393e1af
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue