Create new WidgetStore to track all widgets stuff

This commit is contained in:
Michael Telatynski 2020-09-07 16:19:42 +01:00
parent 89a836100d
commit eb7f6f4c4b
2 changed files with 193 additions and 0 deletions

View file

@ -29,6 +29,7 @@ import {ActiveRoomObserver} from "../ActiveRoomObserver";
import {Notifier} from "../Notifier";
import type {Renderer} from "react-dom";
import RightPanelStore from "../stores/RightPanelStore";
import {WidgetStore} from "../stores/WidgetStore";
declare global {
interface Window {
@ -51,6 +52,7 @@ declare global {
mxSettingsStore: SettingsStore;
mxNotifier: typeof Notifier;
mxRightPanelStore: RightPanelStore;
mxWidgetStore: WidgetStore;
}
interface Document {