rename other timeline handlers

This commit is contained in:
Lachlan Kermode
2018-12-04 12:26:23 +00:00
parent 90e6d9ded1
commit ebb37a845a
3 changed files with 6 additions and 6 deletions

View File

@@ -133,10 +133,10 @@ class Dashboard extends React.Component {
getCategoryColor={category => this.getCategoryColor(category)}
/>
<Timeline
select={this.handleSelect}
onSelect={this.handleSelect}
onUpdateTimerange={this.updateTimerange}
highlight={this.handleHighlight}
toggle={() => this.handleToggle('TOGGLE_CARDSTACK')}
// onHighlight={this.handleHighlight}
// onToggle={() => this.handleToggle('TOGGLE_CARDSTACK')}
getCategoryColor={category => this.getCategoryColor(category)}
/>
<InfoPopUp

View File

@@ -20,7 +20,7 @@ class Timeline extends React.Component {
}
const methods = {
select: this.props.select,
onSelect: this.props.onSelect,
onUpdateTimerange: this.props.onUpdateTimerange,
getCategoryColor: this.props.getCategoryColor
}