refactor onselect

This commit is contained in:
Sol
2020-07-27 14:49:01 +01:00
committed by Lachlan Kermode
parent f525bbbf02
commit e04fb2ebfb
5 changed files with 7 additions and 12 deletions

View File

@@ -182,7 +182,6 @@ class Map extends React.Component {
projectPoint={this.projectPoint}
narrative={this.props.app.narrative}
styles={this.props.ui.narratives}
onSelect={this.props.methods.onSelect}
onSelectNarrative={this.props.methods.onSelectNarrative}
features={this.props.features}
/>
@@ -214,7 +213,6 @@ class Map extends React.Component {
selected={this.props.app.selected}
narrative={this.props.app.narrative}
onSelect={this.props.methods.onSelect}
onSelectNarrative={this.props.methods.onSelectNarrativeStep}
getCategoryColor={this.props.methods.getCategoryColor}
eventRadius={this.props.ui.eventRadius}
/>