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