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: {
params?: {
rid: string;
canAutoTranslate: boolean;
autoTranslate: boolean;
autoTranslateLanguage: string;
navToRoomInfo: Function;
};
};
item: {

View File

@ -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
}
})
}