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) {
|
||||
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>
|
||||
`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user