0deb9fa6b9
* Delete trends_controller.rb * Update routes.rb * Update trending_tags.rb * Update index.js * Update index.js * Update search_results.js * Update async-components.js * Update index.js * Delete trends.js * Delete trends.js * Delete trends_container.js * Delete trends.js * Update search_results.js * Update search_results_container.js
8 lines
242 B
JavaScript
8 lines
242 B
JavaScript
import { connect } from 'react-redux';
|
|
import SearchResults from '../components/search_results';
|
|
|
|
const mapStateToProps = state => ({
|
|
results: state.getIn(['search', 'results']),
|
|
});
|
|
|
|
export default connect(mapStateToProps)(SearchResults);
|