diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-30 15:06:43 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-30 15:06:43 +0100 |
commit | e8ff4c8e56650bf061c63a7da3d84b742e618b6a (patch) | |
tree | cb9aa48393bc6108655db7490434ae29d3145ee5 /app/assets/javascripts/components/features/ui/containers | |
parent | 7060bdf04bde59aab9addce95f00d6e1075a62ba (diff) |
Refactoring redux state into different reducers
Diffstat (limited to 'app/assets/javascripts/components/features/ui/containers')
-rw-r--r-- | app/assets/javascripts/components/features/ui/containers/navigation_container.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/ui/containers/navigation_container.jsx b/app/assets/javascripts/components/features/ui/containers/navigation_container.jsx index 4aeea4c37..51e2513d8 100644 --- a/app/assets/javascripts/components/features/ui/containers/navigation_container.jsx +++ b/app/assets/javascripts/components/features/ui/containers/navigation_container.jsx @@ -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); |