mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 13:28:36 +03:00
clean handler semantics in Dashboard.jsx (further)
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user