Refactoring redux state into different reducers
This commit is contained in:
parent
7060bdf04b
commit
e8ff4c8e56
23 changed files with 352 additions and 223 deletions
|
@ -2,7 +2,7 @@ import { connect } from 'react-redux';
|
|||
import SuggestionsBox from '../components/suggestions_box';
|
||||
|
||||
const mapStateToProps = (state) => ({
|
||||
accountIds: state.get('suggestions')
|
||||
accountIds: state.getIn(['user_lists', 'suggestions'])
|
||||
});
|
||||
|
||||
export default connect(mapStateToProps)(SuggestionsBox);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue