diff --git a/src/components/structures/RoomView.tsx b/src/components/structures/RoomView.tsx index f245e89208..d5d9289182 100644 --- a/src/components/structures/RoomView.tsx +++ b/src/components/structures/RoomView.tsx @@ -182,7 +182,7 @@ export interface IState { e2eStatus?: E2EStatus; rejecting?: boolean; rejectError?: Error; - hasPinnedWidgets: boolean; + hasPinnedWidgets?: boolean; } export default class RoomView extends React.Component { @@ -234,7 +234,6 @@ export default class RoomView extends React.Component { canReply: false, useIRCLayout: SettingsStore.getValue("useIRCLayout"), matrixClientIsReady: this.context && this.context.isInitialSyncComplete(), - hasPinnedWidgets: false, }; this.dispatcherRef = dis.register(this.onAction);