sort hasPinnedWidgets out

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-10-09 08:52:34 +01:00
parent 317dc68135
commit 85aca420f4

View File

@ -182,7 +182,7 @@ export interface IState {
e2eStatus?: E2EStatus; e2eStatus?: E2EStatus;
rejecting?: boolean; rejecting?: boolean;
rejectError?: Error; rejectError?: Error;
hasPinnedWidgets: boolean; hasPinnedWidgets?: boolean;
} }
export default class RoomView extends React.Component<IProps, IState> { export default class RoomView extends React.Component<IProps, IState> {
@ -234,7 +234,6 @@ export default class RoomView extends React.Component<IProps, IState> {
canReply: false, canReply: false,
useIRCLayout: SettingsStore.getValue("useIRCLayout"), useIRCLayout: SettingsStore.getValue("useIRCLayout"),
matrixClientIsReady: this.context && this.context.isInitialSyncComplete(), matrixClientIsReady: this.context && this.context.isInitialSyncComplete(),
hasPinnedWidgets: false,
}; };
this.dispatcherRef = dis.register(this.onAction); this.dispatcherRef = dis.register(this.onAction);