~emersion/gamja

a1d79cda4b4ad9e363468ce11feb57f2bb2c6f28 — Simon Ser 24 days ago 52ddda4
Drop ConnectForm key
1 files changed, 0 insertions(+), 2 deletions(-)

M components/app.js
M components/app.js => components/app.js +0 -2
@@ 1150,7 1150,6 @@ export default class App extends Component {
		if (this.state.connectForm) {
			let status = activeServer ? activeServer.status : ServerStatus.DISCONNECTED;
			let connecting = status === ServerStatus.CONNECTING || status === ServerStatus.REGISTERING;
			// TODO: using key=connectParams trashes the ConnectForm state on update
			return html`
				<section id="connect">
					<${ConnectForm}


@@ 1159,7 1158,6 @@ export default class App extends Component {
						auth=${this.config.server.auth}
						connecting=${connecting}
						onSubmit=${this.handleConnectSubmit}
						key=${this.state.connectParams}
					/>
				</section>
			`;