You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
300 B

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