default create setting

This commit is contained in:
ntr 2019-04-25 22:28:13 +10:00
parent 45cf9d9530
commit 471d37c551

View File

@ -24,9 +24,9 @@ class InstanceCreateForm extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.state = { players: 1, name: '' }; this.state = { players: 2, name: '' };
const { sendInstanceNew, selectedCryps } = props; const { sendInstanceNew } = props;
this.sendInstanceNew = sendInstanceNew.bind(this); this.sendInstanceNew = sendInstanceNew.bind(this);