about summary refs log tree commit diff
path: root/app/assets/javascripts/components/features/compose/containers/navigation_container.jsx
blob: 0006608dacc24fd6969765fc424eb953a7c44915 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import { connect }   from 'react-redux';
import NavigationBar from '../components/navigation_bar';

const mapStateToProps = (state, props) => {
  return {
    account: state.getIn(['accounts', state.getIn(['meta', 'me'])])
  };
};

export default connect(mapStateToProps)(NavigationBar);