mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-11 04:48:36 +03:00
refactor onselect
This commit is contained in:
@@ -72,9 +72,8 @@ class CardStack extends React.Component {
|
||||
getCategoryLabel={this.props.getCategoryLabel}
|
||||
onViewSource={this.props.onViewSource}
|
||||
onHighlight={this.props.onHighlight}
|
||||
onSelect={this.props.onSelect}
|
||||
onSelect={() => this.props.onSelect(idx)}
|
||||
features={this.props.features}
|
||||
onClick={() => this.props.onSelectNarrativeStep(idx)}
|
||||
/>)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user