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

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

export default connect(mapStateToProps)(NavigationBar);