From cc07128eb1c95cc4e019436b4d0d67674ab5bf7d Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Fri, 17 Sep 2021 16:17:50 -0400 Subject: [PATCH] Remove unused params --- app/views/DiscussionsView/index.tsx | 4 ---- app/views/RoomActionsView/index.js | 8 +------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/app/views/DiscussionsView/index.tsx b/app/views/DiscussionsView/index.tsx index 118890c0..7bdff847 100644 --- a/app/views/DiscussionsView/index.tsx +++ b/app/views/DiscussionsView/index.tsx @@ -30,10 +30,6 @@ interface IDiscussionsViewProps { route: { params?: { rid: string; - canAutoTranslate: boolean; - autoTranslate: boolean; - autoTranslateLanguage: string; - navToRoomInfo: Function; }; }; item: { diff --git a/app/views/RoomActionsView/index.js b/app/views/RoomActionsView/index.js index 5e6a2215..c1abcb1c 100644 --- a/app/views/RoomActionsView/index.js +++ b/app/views/RoomActionsView/index.js @@ -1006,13 +1006,7 @@ class RoomActionsView extends React.Component { this.onPressTouchable({ route: 'DiscussionsView', params: { - rid, - t, - prid, - canAutoTranslate, - autoTranslate: room.autoTranslate, - autoTranslateLanguage: room.autoTranslateLanguage, - navToRoomInfo: navParam => this.navToRoomInfo(navParam) + rid } }) }