clean handler semantics in Dashboard.jsx (further)

This commit is contained in:
Lachlan Kermode
2018-12-05 11:36:29 +00:00
parent eeb242ef87
commit 13befd298a
5 changed files with 11 additions and 17 deletions

View File

@@ -21,7 +21,6 @@ export default function(newApp, ui, methods) {
}
const getCategoryColor = methods.getCategoryColor;
const select = methods.select;
const narrativeProps = ui.narratives;
// Map Settings
@@ -272,7 +271,7 @@ Stop and start the development process in terminal after you have added your tok
${lMap.latLngToLayerPoint(d.LatLng).y})`;
})
.on('click', (location) => {
select(location.events);
methods.onSelect(location.events);
});
const eventsDom = g.selectAll('.location')