From f1a2b6d32799b8c361d65e840101a53726dff4c7 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 22 Sep 2017 13:35:49 +0100 Subject: [PATCH] lint --- src/components/views/elements/TruncatedList.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 (