Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Njeri Kieha committed May 19, 2017
1 parent 8339877 commit 8241c1e
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ class DropDownMenu extends Component {
isOpen: false
});

console.log("handleChange", this.state.isOpen);

if (this.props.onChange) {
this.props.onChange(event, value);
}
Expand All @@ -53,8 +51,6 @@ class DropDownMenu extends Component {
}

render() {
console.log("render", this.state.isOpen);

return (
<Popover
buttonElement={
Expand Down Expand Up @@ -85,12 +81,17 @@ class DropDownMenu extends Component {
}

DropDownMenu.propTypes = {
attachment: PropTypes.string,
buttonElement: PropTypes.node,
children: PropTypes.node,
className: PropTypes.string,
isEnabled: PropTypes.bool,
menuStyle: PropTypes.object,
onChange: PropTypes.func,
onPublishClick: PropTypes.func,
revisions: PropTypes.arrayOf(PropTypes.object),
style: PropTypes.object,
targetAttachment: PropTypes.string,
translation: PropTypes.shape({
lang: PropTypes.string
}),
Expand Down

0 comments on commit 8241c1e

Please sign in to comment.