Skip to content

Commit

Permalink
Remove unused constant from props destructuring
Browse files Browse the repository at this point in the history
onKeyboardFocus, onMouseLeave, onMouseEnter, onTouchStart are not used in the render method, but rather in the related callbacks where this.props.propname is referenced directly.
  • Loading branch information
mbrookes committed Dec 15, 2015
1 parent 5c8a39b commit 6a65f7b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/flat-button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@ const FlatButton = React.createClass({
label,
labelStyle,
labelPosition,
onKeyboardFocus,
onMouseLeave,
onMouseEnter,
onTouchStart,
primary,
rippleColor,
secondary,
Expand Down

0 comments on commit 6a65f7b

Please sign in to comment.