pull/21833/head
David Baker 2017-09-22 13:35:49 +01:00
parent 16398fbfc2
commit f1a2b6d327
1 changed files with 1 additions and 2 deletions

View File

@ -77,7 +77,6 @@ module.exports = React.createClass({
},
render: function() {
let childNodes;
let overflowNode = null;
const totalChildren = this._getChildCount();
@ -91,7 +90,7 @@ module.exports = React.createClass({
upperBound = this.props.truncateAt;
}
}
childNodes = this._getChildren(0, upperBound);
const childNodes = this._getChildren(0, upperBound);
return (
<div className={this.props.className}>