bigbuffet-rw/app/gabsocial/features/compose/containers/navigation_container.js

11 lines
285 B
JavaScript

import { connect } from 'react-redux';
import NavigationBar from '../components/navigation_bar';
const mapStateToProps = state => {
const me = state.get('me');
return {
account: state.getIn(['accounts', me]),
};
};
export default connect(mapStateToProps)(NavigationBar);