pleroma/app/soapbox/features/compose/containers/navigation_container.js

12 lines
285 B
JavaScript
Raw Normal View History

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