From b95cad71eb69162fe51c63ff2dffb63e4692700a Mon Sep 17 00:00:00 2001 From: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com> Date: Fri, 4 Feb 2022 17:47:05 -0300 Subject: [PATCH] Chore: Remove Non-null assertion operator in ThreadMessagesView (#3632) Co-authored-by: Diego Mello --- app/definitions/redux/index.ts | 2 +- app/views/ThreadMessagesView/index.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/definitions/redux/index.ts b/app/definitions/redux/index.ts index 86512f252..558882b46 100644 --- a/app/definitions/redux/index.ts +++ b/app/definitions/redux/index.ts @@ -60,7 +60,7 @@ export type TApplicationActions = TActionActiveUsers & TActionEncryption & TActionSortPreferences & TActionUserTyping & - TActionCreateDiscussion& + TActionCreateDiscussion & TActionCreateChannel & TActionsShare & TActionServer & diff --git a/app/views/ThreadMessagesView/index.tsx b/app/views/ThreadMessagesView/index.tsx index adda3e803..ce154bd18 100644 --- a/app/views/ThreadMessagesView/index.tsx +++ b/app/views/ThreadMessagesView/index.tsx @@ -220,7 +220,6 @@ class ThreadMessagesView extends React.Component { const { currentFilter } = this.state; const displayingThreads = this.getFilteredThreads(messages, subscription, currentFilter);