glitchier-soc/app/javascript/mastodon/features/compose/containers/search_results_container.js
2017-11-17 19:29:16 -08:00

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);