about summary refs log tree commit diff
path: root/app/assets/javascripts/components/features/compose/containers/suggestions_container.jsx
blob: 7163cb100473275d25ef175a38f404f2ca4893e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
import { connect }           from 'react-redux';
import { getSuggestions }    from '../../../selectors';
import SuggestionsBox        from '../components/suggestions_box';

const mapStateToProps = (state) => ({
  accounts: getSuggestions(state)
});

export default connect(mapStateToProps)(SuggestionsBox);