Skip to content

Commit

Permalink
fix(editor): fix react error that does not allow tooltip prop on <a>
Browse files Browse the repository at this point in the history
  • Loading branch information
landonreed committed May 7, 2018
1 parent db6e79f commit 835842b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/common/components/OptionButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ export default class OptionButton extends Component {
}

render () {
const {children, tooltip} = this.props
const {children, tooltip, ...other} = this.props
const button = (
<Button
{...this.props}
{...other}
href='#' // required for button width to appear correctly
onClick={this._onClick}>
{children}
Expand Down

0 comments on commit 835842b

Please sign in to comment.