glitchier-soc/app/javascript/mastodon/features/compose/containers/search_results_container.js

9 lines
242 B
JavaScript
Raw Normal View History

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