Skip to content

Commit 2852af5

Browse files
author
Patrick McKelvy
committed
IHM-274 update const to var.
1 parent 1a44f0e commit 2852af5

2 files changed

Lines changed: 21 additions & 21 deletions

File tree

.idea/workspace.xml

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ var Select = React.createClass({
191191

192192
componentWillUpdate: function (nextProps, nextState) {
193193
if (nextState.isOpen !== this.state.isOpen) {
194-
const handler = nextState.isOpen ? nextProps.onOpen : nextProps.onClose;
194+
var handler = nextState.isOpen ? nextProps.onOpen : nextProps.onClose;
195195
handler && handler();
196196
}
197197
},

0 commit comments

Comments
 (0)