diff --git a/src/components/Dashboard.jsx b/src/components/Dashboard.jsx index 178caf9..950fa7e 100644 --- a/src/components/Dashboard.jsx +++ b/src/components/Dashboard.jsx @@ -133,10 +133,10 @@ class Dashboard extends React.Component { getCategoryColor={category => this.getCategoryColor(category)} /> this.handleToggle('TOGGLE_CARDSTACK')} + // onHighlight={this.handleHighlight} + // onToggle={() => this.handleToggle('TOGGLE_CARDSTACK')} getCategoryColor={category => this.getCategoryColor(category)} /> getEventY(eventPoint)) .style('fill', eventPoint => getEventPointFillColor(eventPoint)) .on('click', eventPoint => { - return methods.select(getAllEventsAtOnce(eventPoint)) + return methods.onSelect(getAllEventsAtOnce(eventPoint)) }) .on('mouseover', handleMouseOver) .on('mouseout', handleMouseOut)