forked from CringeStudios/gamja
Drop ConnectForm key
This commit is contained in:
parent
52ddda4e82
commit
a1d79cda4b
@ -1150,7 +1150,6 @@ export default class App extends Component {
|
|||||||
if (this.state.connectForm) {
|
if (this.state.connectForm) {
|
||||||
let status = activeServer ? activeServer.status : ServerStatus.DISCONNECTED;
|
let status = activeServer ? activeServer.status : ServerStatus.DISCONNECTED;
|
||||||
let connecting = status === ServerStatus.CONNECTING || status === ServerStatus.REGISTERING;
|
let connecting = status === ServerStatus.CONNECTING || status === ServerStatus.REGISTERING;
|
||||||
// TODO: using key=connectParams trashes the ConnectForm state on update
|
|
||||||
return html`
|
return html`
|
||||||
<section id="connect">
|
<section id="connect">
|
||||||
<${ConnectForm}
|
<${ConnectForm}
|
||||||
@ -1159,7 +1158,6 @@ export default class App extends Component {
|
|||||||
auth=${this.config.server.auth}
|
auth=${this.config.server.auth}
|
||||||
connecting=${connecting}
|
connecting=${connecting}
|
||||||
onSubmit=${this.handleConnectSubmit}
|
onSubmit=${this.handleConnectSubmit}
|
||||||
key=${this.state.connectParams}
|
|
||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
`;
|
`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user