19 lines
370 B
JavaScript
19 lines
370 B
JavaScript
|
var connect = require('react-redux').connect;
|
||
|
|
||
|
var PopularSuggestionsChart = require('../components/PopularSuggestionsChart');
|
||
|
|
||
|
function mapStateToProps(state) {
|
||
|
return {
|
||
|
popularSuggestions: state.popularSuggestions
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function mapDispatchToProps(dispatch) {
|
||
|
return {}
|
||
|
}
|
||
|
|
||
|
module.exports = connect(
|
||
|
mapStateToProps,
|
||
|
mapDispatchToProps
|
||
|
)(PopularSuggestionsChart)
|