mirror of https://github.com/vector-im/riot-web
Fixes React warning
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
580d8dce19
commit
b2cd65e182
|
@ -26,11 +26,9 @@ class MenuOption extends React.Component {
|
|||
this._onClick = this._onClick.bind(this);
|
||||
}
|
||||
|
||||
getDefaultProps() {
|
||||
return {
|
||||
disabled: false,
|
||||
};
|
||||
}
|
||||
static defaultProps = {
|
||||
disabled: false,
|
||||
};
|
||||
|
||||
_onMouseEnter() {
|
||||
this.props.onMouseEnter(this.props.dropdownKey);
|
||||
|
|
Loading…
Reference in New Issue