From 85aca420f43cb3a254573b23e2c83ea253287b02 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 9 Oct 2020 08:52:34 +0100 Subject: [PATCH] sort hasPinnedWidgets out Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/RoomView.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);