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

@@ -172,7 +172,7 @@ class Card extends React.Component {
className={`event-card ${isSelected ? 'selected' : ''}`}
id={`event-card-${idx}`}
ref={this.props.innerRef}
onClick={(e) => { this.props.onClick(idx) }}
onClick={this.props.onClick}
>
{this.renderMain()}
{this.state.isOpen ? this.renderExtra() : null}