Bug 1454696 - Run eslint --fix for prefer-const;r=yulia

MozReview-Commit-ID: F6xUXCgdRE4
This commit is contained in:
Julian Descottes
2018-06-01 12:36:09 +02:00
parent 281dfc0c1f
commit 82711b9a8f
2873 changed files with 24923 additions and 24923 deletions

View File

@@ -279,7 +279,7 @@ class Tree extends Component {
}
shouldComponentUpdate(nextProps, nextState) {
let { scroll, height, seen, mouseDown } = this.state;
const { scroll, height, seen, mouseDown } = this.state;
return scroll !== nextState.scroll ||
height !== nextState.height ||
@@ -811,7 +811,7 @@ class TreeNodeClass extends Component {
onCollapse: this.props.onCollapse,
});
let classList = [ "tree-node", "div" ];
const classList = [ "tree-node", "div" ];
if (this.props.index % 2) {
classList.push("tree-node-odd");
}