mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 13:28:36 +03:00
rename CardStack handlers
This commit is contained in:
@@ -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 {
|
||||
<div
|
||||
id='card-stack-header'
|
||||
className='card-stack-header'
|
||||
onClick={() => this.props.toggle('TOGGLE_CARDSTACK')}
|
||||
onClick={() => this.props.onToggle('TOGGLE_CARDSTACK')}
|
||||
>
|
||||
<button className="side-menu-burg is-active"><span></span></button>
|
||||
<p className="header-copy top">
|
||||
|
||||
@@ -126,9 +126,9 @@ class Dashboard extends React.Component {
|
||||
actions={this.props.actions}
|
||||
/>
|
||||
<CardStack
|
||||
select={this.handleSelect}
|
||||
highlight={this.handleHighlight}
|
||||
toggle={this.handleToggle}
|
||||
onSelect={this.handleSelect}
|
||||
onHighlight={this.handleHighlight}
|
||||
onToggle={this.handleToggle}
|
||||
getNarrativeLinks={event => this.getNarrativeLinks(event)}
|
||||
getCategoryColor={category => this.getCategoryColor(category)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user