lint fixes

This commit is contained in:
Sol
2020-07-14 20:24:38 +01:00
committed by Lachlan Kermode
parent 90f1de296a
commit 0ade39541e
2 changed files with 2 additions and 2 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={(e) => { this.props.onClick(idx) }}
>
{this.renderMain()}
{this.state.isOpen ? this.renderExtra() : null}

View File

@@ -64,7 +64,7 @@ class CardStack extends React.Component {
this.refs[idx] = thisRef
return (<Card
event={event}
idx={idx}
idx={idx}
ref={thisRef}
sourceError={this.props.sourceError}
language={this.props.language}