diff --git a/src/components/Card.jsx b/src/components/Card.jsx index 145678f..b13b9c2 100644 --- a/src/components/Card.jsx +++ b/src/components/Card.jsx @@ -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} diff --git a/src/components/CardStack.jsx b/src/components/CardStack.jsx index be4c014..b6fccdf 100644 --- a/src/components/CardStack.jsx +++ b/src/components/CardStack.jsx @@ -64,7 +64,7 @@ class CardStack extends React.Component { this.refs[idx] = thisRef return (