Make suggestions box also use user list components
This commit is contained in:
parent
ac4f53a3a2
commit
bfb6cc5f2c
5 changed files with 21 additions and 58 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue