diff --git a/src/containers/Connections/store.ts b/src/containers/Connections/store.ts index 380c9d3..e89e7d7 100644 --- a/src/containers/Connections/store.ts +++ b/src/containers/Connections/store.ts @@ -37,7 +37,7 @@ class Store { if (!this.saveDisconnection) { this.connections.delete(id) } else { - const connection = this.connections.get(id) + let connection = this.connections.get(id) if (connection != null) { connection.completed = true connection.uploadSpeed = 0