logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

navigation_container.js (300B)


  1. import { connect } from 'react-redux';
  2. import NavigationBar from '../components/navigation_bar';
  3. import { me } from '../../../initial_state';
  4. const mapStateToProps = state => {
  5. return {
  6. account: state.getIn(['accounts', me]),
  7. };
  8. };
  9. export default connect(mapStateToProps)(NavigationBar);