All components use getCategoryColor

This commit is contained in:
Franc Camps-Febrer
2018-12-03 14:50:38 +00:00
parent 0a6ba78389
commit b7c73ab9bd
6 changed files with 10 additions and 19 deletions

View File

@@ -22,11 +22,10 @@ class CardStack extends React.Component {
event={event}
language={this.props.language}
tools={this.props.tools}
style={this.props.style}
isLoading={this.props.isLoading}
getNarrativeLinks={this.props.getNarrativeLinks}
getCategoryGroup={this.props.getCategoryGroup}
getCategoryGroupColor={this.props.getCategoryGroupColor}
getCategoryColor={this.props.getCategoryColor}
getCategoryLabel={this.props.getCategoryLabel}
highlight={this.props.highlight}
select={this.props.select}
@@ -99,7 +98,6 @@ function mapStateToProps(state) {
selected: state.app.selected,
language: state.app.language,
tools: state.ui.tools,
style: state.ui.style,
isCardstack: state.ui.flags.isCardstack,
isLoading: state.ui.flags.isFetchingEvents
}