rename variables

This commit is contained in:
Sol
2020-07-27 14:19:37 +01:00
committed by Lachlan Kermode
parent 0e2f639075
commit b4d8c09dd1
4 changed files with 9 additions and 10 deletions

View File

@@ -61,7 +61,6 @@ class CardStack extends React.Component {
this.refs[idx] = thisRef
return (<Card
event={event}
idx={idx}
ref={thisRef}
sourceError={this.props.sourceError}
language={this.props.language}
@@ -75,7 +74,7 @@ class CardStack extends React.Component {
onHighlight={this.props.onHighlight}
onSelect={this.props.onSelect}
features={this.props.features}
onClick={this.props.onSelectNarrativeEvent}
onClick={() => this.props.onSelectNarrativeStep(idx)}
/>)
})
}