diff --git a/pages/tournament-edit.js b/pages/tournament-edit.js
index 9a93d43..7d56a1e 100644
--- a/pages/tournament-edit.js
+++ b/pages/tournament-edit.js
@@ -235,9 +235,12 @@ class EditTeamNamesForm extends React.Component {
{
- teams.map((team, index) => {
-
- })
+ teams.map((team, index) =>
+
+ |
+ { team.name } |
+
+ )
}
@@ -253,13 +256,9 @@ class EditTeamNamesForm extends React.Component {
});
}
- handleClick(input) {
+ handleClick(input, index) {
// TODO: Apply changes to the tournament properties
}
-
- handleNameInput(input) {
- this.setState({ name : input.target.value });
- }
}
function mapStateToTeamFormProps(state) {