fix instance start

This commit is contained in:
ntr
2019-07-17 19:14:53 +10:00
parent 328bdf533a
commit 9633e4f4c6
5 changed files with 12 additions and 16 deletions
+1
View File
@@ -65,6 +65,7 @@ function Game(props) {
if (!game) return <div>...</div>;
console.log('running game');
const otherTeams = game.players.filter(t => t.id !== account.id);
const playerTeam = game.players.find(t => t.id === account.id);
+1 -1
View File
@@ -129,7 +129,7 @@ function List(args) {
.sort(idSort)
.map(construct => {
const constructName = constructRename === construct.id
? <input id='renameInput' type="text" style="text-align: center" placeholder={construct.name}></input>
? <input id='renameInput' type="text" style="text-align: center" placeholder="enter a new name"></input>
: <h2>{construct.name}</h2>;
const confirm = constructRename === construct.id