bigbuffet-rw/app/soapbox/features/compose/containers/navigation_container.js
2020-05-28 17:56:55 -05:00

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);