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();
|
||||
}
|
||||
|
||||
onMenuOptionClick(server, network, ev) {
|
||||
onMenuOptionClick(server, network) {
|
||||
this.setState({
|
||||
expanded: false,
|
||||
selectedServer: server,
|
||||
|
@ -111,7 +111,7 @@ export default class NetworkDropdown extends React.Component {
|
|||
this.props.onOptionChange(server, network);
|
||||
}
|
||||
|
||||
onMenuOptionClickProtocolInstance(server, instance_id, ev) {
|
||||
onMenuOptionClickProtocolInstance(server, instance_id) {
|
||||
this.setState({
|
||||
expanded: false,
|
||||
selectedServer: server,
|
||||
|
|
Loading…
Reference in New Issue