From a1d79cda4b4ad9e363468ce11feb57f2bb2c6f28 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 4 Jul 2021 21:43:47 +0200 Subject: [PATCH] Drop ConnectForm key --- components/app.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/app.js b/components/app.js index 78e7e10..d10f2c8 100644 --- a/components/app.js +++ b/components/app.js @@ -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`
<${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} />
`;