2017-03-31 19:59:54 +02:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import SearchResults from '../components/search_results';
|
|
|
|
|
|
|
|
const mapStateToProps = state => ({
|
2017-05-20 17:31:47 +02:00
|
|
|
results: state.getIn(['search', 'results']),
|
2017-03-31 19:59:54 +02:00
|
|
|
});
|
|
|
|
|
2018-06-04 02:18:18 +02:00
|
|
|
export default connect(mapStateToProps)(SearchResults);
|