diff --git a/src/components/views/elements/TruncatedList.js b/src/components/views/elements/TruncatedList.js index cc94b4ff9b..02710bb3cc 100644 --- a/src/components/views/elements/TruncatedList.js +++ b/src/components/views/elements/TruncatedList.js @@ -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 (