Enable block-scoped-var eslint rule

This commit is contained in:
Quincy Morgan
2020-10-23 13:38:36 -04:00
parent b1fcebcc56
commit 4059ee5118
7 changed files with 18 additions and 10 deletions
+2 -1
View File
@@ -289,8 +289,9 @@ export function uiFieldRestrictions(field, context) {
.selectAll('.related')
.classed('related', false);
var way;
if (_fromWayID) {
var way = vgraph.entity(_fromWayID);
way = vgraph.entity(_fromWayID);
surface
.selectAll('.' + _fromWayID)
.classed('selected', true)