Refactoring redux state into different reducers
This commit is contained in:
1 parent
7060bdf04b
commit
e8ff4c8e56
23 files changed
+352
-223
No files matched your search
@@ -2,7 +2,7 @@ import { connect } from 'react-redux';
|
||||
import NavigationBar from '../components/navigation_bar';
|
||||
|
||||
const mapStateToProps = (state, props) => ({
|
||||
account: state.getIn(['timelines', 'accounts', state.getIn(['timelines', 'me'])])
|
||||
account: state.getIn(['accounts', state.getIn(['meta', 'me'])])
|
||||
});
|
||||
|
||||
export default connect(mapStateToProps)(NavigationBar);
|
||||
Reference in new issue
Block a user