Remove unused packages and fix invariant violation on AsyncStore onNotReady
(#9404)
* Remove traces of browser-request & mocha * Remove unused matrix-react-test-utils * Fix dispatcher invariant violation * Add null-guard * Improve types * Fix null-guard * Fix issue with authed users going directly to /#/login
This commit is contained in:
parent
28bd58e551
commit
1800cb8c71
8 changed files with 34 additions and 57 deletions
|
@ -90,7 +90,7 @@ export class CallStore extends AsyncStoreWithClient<{}> {
|
|||
}
|
||||
this.callListeners.clear();
|
||||
this.calls.clear();
|
||||
this.activeCalls = new Set();
|
||||
this._activeCalls.clear();
|
||||
|
||||
this.matrixClient.off(ClientEvent.Room, this.onRoom);
|
||||
this.matrixClient.off(RoomStateEvent.Events, this.onRoomState);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue