Fix the tests

pull/21833/head
Travis Ralston 2020-06-08 18:18:34 -06:00
parent bcc455b248
commit eff97e6c20
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ export class BreadcrumbsStore extends AsyncStoreWithClient<IState> {
} }
private async appendRoom(room: Room) { private async appendRoom(room: Room) {
const rooms = this.state.rooms.slice(); // cheap clone const rooms = (this.state.rooms || []).slice(); // cheap clone
// If the room is upgraded, use that room instead. We'll also splice out // If the room is upgraded, use that room instead. We'll also splice out
// any children of the room. // any children of the room.