From 6a65f7be4be9b7bd8f2a82e53780562ff54e1da3 Mon Sep 17 00:00:00 2001 From: Matt Brookes Date: Tue, 15 Dec 2015 19:58:49 +0000 Subject: [PATCH] Remove unused constant from props destructuring onKeyboardFocus, onMouseLeave, onMouseEnter, onTouchStart are not used in the render method, but rather in the related callbacks where this.props.propname is referenced directly. --- src/flat-button.jsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/flat-button.jsx b/src/flat-button.jsx index 3d289df98c69ba..437266e43180d3 100644 --- a/src/flat-button.jsx +++ b/src/flat-button.jsx @@ -121,10 +121,6 @@ const FlatButton = React.createClass({ label, labelStyle, labelPosition, - onKeyboardFocus, - onMouseLeave, - onMouseEnter, - onTouchStart, primary, rippleColor, secondary,