gab-social/app/javascript/gabsocial/features/compose/containers/navigation_container.js
2019-07-02 03:10:25 -04:00

12 lines
300 B
JavaScript

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