From 731645c208262d58e31a9de44bc2abdfc25740c4 Mon Sep 17 00:00:00 2001 From: Matthew Hasbach Date: Fri, 14 Aug 2015 11:19:42 -0400 Subject: [PATCH] Make disabled a const --- src/drop-down-menu.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drop-down-menu.jsx b/src/drop-down-menu.jsx index b1edfbfdf30189..cee002f7d8f885 100644 --- a/src/drop-down-menu.jsx +++ b/src/drop-down-menu.jsx @@ -66,8 +66,8 @@ let DropDownMenu = React.createClass({ }, getStyles(){ + const {disabled} = this.props; let zIndex = 5; // As AppBar - let disabled = this.props.disabled; let spacing = this.context.muiTheme.spacing; let accentColor = this.context.muiTheme.component.dropDownMenu.accentColor; let backgroundColor = this.context.muiTheme.component.menu.backgroundColor;