Remove unused params

This commit is contained in:
Gerzon Z 2021-09-17 16:17:50 -04:00
parent c641bf5577
commit cc07128eb1
2 changed files with 1 additions and 11 deletions

View File

@ -30,10 +30,6 @@ interface IDiscussionsViewProps {
route: { route: {
params?: { params?: {
rid: string; rid: string;
canAutoTranslate: boolean;
autoTranslate: boolean;
autoTranslateLanguage: string;
navToRoomInfo: Function;
}; };
}; };
item: { item: {

View File

@ -1006,13 +1006,7 @@ class RoomActionsView extends React.Component {
this.onPressTouchable({ this.onPressTouchable({
route: 'DiscussionsView', route: 'DiscussionsView',
params: { params: {
rid, rid
t,
prid,
canAutoTranslate,
autoTranslate: room.autoTranslate,
autoTranslateLanguage: room.autoTranslateLanguage,
navToRoomInfo: navParam => this.navToRoomInfo(navParam)
} }
}) })
} }