Fixes React warning
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
580d8dce19
commit
b2cd65e182
1 changed files with 3 additions and 5 deletions
|
@ -26,11 +26,9 @@ class MenuOption extends React.Component {
|
||||||
this._onClick = this._onClick.bind(this);
|
this._onClick = this._onClick.bind(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
getDefaultProps() {
|
static defaultProps = {
|
||||||
return {
|
disabled: false,
|
||||||
disabled: false,
|
};
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
_onMouseEnter() {
|
_onMouseEnter() {
|
||||||
this.props.onMouseEnter(this.props.dropdownKey);
|
this.props.onMouseEnter(this.props.dropdownKey);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue