1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

Update src/stores/widgets/WidgetLayoutStore.ts

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
Travis Ralston
2021-01-21 13:22:44 -07:00
committed by GitHub
parent 29780d902c
commit f023fc50e2

View File

@@ -149,7 +149,7 @@ export class WidgetLayoutStore extends ReadyWatchingStore {
} }
}; };
private updateFromWidgetStore = (roomId?:string) => { private updateFromWidgetStore = (roomId?: string) => {
if (roomId) { if (roomId) {
const room = this.matrixClient.getRoom(roomId); const room = this.matrixClient.getRoom(roomId);
if (room) this.recalculateRoom(room); if (room) this.recalculateRoom(room);