Remove unused params
This commit is contained in:
parent
c641bf5577
commit
cc07128eb1
|
@ -30,10 +30,6 @@ interface IDiscussionsViewProps {
|
|||
route: {
|
||||
params?: {
|
||||
rid: string;
|
||||
canAutoTranslate: boolean;
|
||||
autoTranslate: boolean;
|
||||
autoTranslateLanguage: string;
|
||||
navToRoomInfo: Function;
|
||||
};
|
||||
};
|
||||
item: {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue