diff --git a/src/client/src/FrontPage.js b/src/client/src/FrontPage.js index 3c3c9bb..ed1dbba 100644 --- a/src/client/src/FrontPage.js +++ b/src/client/src/FrontPage.js @@ -113,22 +113,6 @@ function Home() { Tournaments - {/* - - */} -
diff --git a/src/client/src/TournamentTeams.js b/src/client/src/TournamentTeams.js index 1d2ebc7..784a1b0 100644 --- a/src/client/src/TournamentTeams.js +++ b/src/client/src/TournamentTeams.js @@ -115,11 +115,6 @@ function TeamEditor(props) { .catch(error => showError(error)); }, [props.selectedTeamId]); - function postEdit() { - let formData = new FormData(); - formData.append("name", document.getElementById("teamNameInput").value); - } - if (props.selectedTeamId === -1 || !team) { return ( @@ -139,7 +134,6 @@ function TeamEditor(props) { function saveTeam() { let formData = new FormData(); formData.append("name", team.name); - console.log(team); let body = new URLSearchParams(formData) fetch(process.env.REACT_APP_API_URL + `/team/${team.id}/edit`, { method: "POST",