Apply further cleanup and renaming

This commit is contained in:
Franc Camps-Febrer
2018-11-15 06:42:12 -05:00
parent 640baf904e
commit a33e8769a9
5 changed files with 54 additions and 29 deletions

View File

@@ -21,14 +21,15 @@ class Viewport extends React.Component {
highlighted: this.props.highlighted,
getCategoryGroup: this.props.getCategoryGroup,
getCategoryGroupColor: this.props.getCategoryGroupColor,
select: this.props.select,
mapAnchor: this.props.mapAnchor
}
const ui = {
style: this.props.uiStyle,
groupColors: this.props.groupColors,
dom: this.props.dom
}
this.map = new Map(app, ui, this.props.select);
this.map = new Map(app, ui);
this.map.update(domain, app);
}