Merge pull request #5734 from matrix-org/travis/skinning/pt3-easy-comps

[SK-3] Decorate easy components with replaceableComponent
This commit is contained in:
Travis Ralston 2021-03-11 07:26:20 -07:00 committed by GitHub
commit 229a95f190
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
296 changed files with 595 additions and 8 deletions

View file

@ -82,6 +82,7 @@ import { Container, WidgetLayoutStore } from "../../stores/widgets/WidgetLayoutS
import { objectHasDiff } from "../../utils/objects";
import SpaceRoomView from "./SpaceRoomView";
import { IOpts } from "../../createRoom";
import {replaceableComponent} from "../../utils/replaceableComponent";
const DEBUG = false;
let debuglog = function(msg: string) {};
@ -195,6 +196,7 @@ export interface IState {
dragCounter: number;
}
@replaceableComponent("structures.RoomView")
export default class RoomView extends React.Component<IProps, IState> {
private readonly dispatcherRef: string;
private readonly roomStoreToken: EventSubscription;