Make suggestions box also use user list components

This commit is contained in:
Eugen Rochko committed 2016-10-28 20:26:49 +02:00
1 parent ac4f53a3a2
commit bfb6cc5f2c
5 files changed
+21 -58

No files matched your search

@@ -1,9 +1,8 @@
import { connect } from 'react-redux';
import { getSuggestions } from '../../../selectors';
import SuggestionsBox from '../components/suggestions_box';
const mapStateToProps = (state) => ({
accounts: getSuggestions(state)
accountIds: state.get('suggestions')
});
export default connect(mapStateToProps)(SuggestionsBox);