diff --git a/src/components/CardStack.jsx b/src/components/CardStack.jsx index 84ae9aa..8408f54 100644 --- a/src/components/CardStack.jsx +++ b/src/components/CardStack.jsx @@ -27,8 +27,8 @@ class CardStack extends React.Component { getCategoryGroup={this.props.getCategoryGroup} getCategoryColor={this.props.getCategoryColor} getCategoryLabel={this.props.getCategoryLabel} - highlight={this.props.highlight} - select={this.props.select} + highlight={this.props.onHighlight} + select={this.props.onSelect} /> ); }); @@ -54,7 +54,7 @@ class CardStack extends React.Component {
this.props.toggle('TOGGLE_CARDSTACK')} + onClick={() => this.props.onToggle('TOGGLE_CARDSTACK')} >

diff --git a/src/components/Dashboard.jsx b/src/components/Dashboard.jsx index 950fa7e..344cc8e 100644 --- a/src/components/Dashboard.jsx +++ b/src/components/Dashboard.jsx @@ -126,9 +126,9 @@ class Dashboard extends React.Component { actions={this.props.actions} /> this.getNarrativeLinks(event)} getCategoryColor={category => this.getCategoryColor(category)} />