闭社主体 forked from https://github.com/tootsuite/mastodon
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.

10 lines
288 B

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