mirror of https://github.com/vector-im/riot-web
Remove unused event params
parent
98cad8779c
commit
901c0e7e41
|
@ -101,7 +101,7 @@ export default class NetworkDropdown extends React.Component {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
onMenuOptionClick(server, network, ev) {
|
onMenuOptionClick(server, network) {
|
||||||
this.setState({
|
this.setState({
|
||||||
expanded: false,
|
expanded: false,
|
||||||
selectedServer: server,
|
selectedServer: server,
|
||||||
|
@ -111,7 +111,7 @@ export default class NetworkDropdown extends React.Component {
|
||||||
this.props.onOptionChange(server, network);
|
this.props.onOptionChange(server, network);
|
||||||
}
|
}
|
||||||
|
|
||||||
onMenuOptionClickProtocolInstance(server, instance_id, ev) {
|
onMenuOptionClickProtocolInstance(server, instance_id) {
|
||||||
this.setState({
|
this.setState({
|
||||||
expanded: false,
|
expanded: false,
|
||||||
selectedServer: server,
|
selectedServer: server,
|
||||||
|
|
Loading…
Reference in New Issue