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