about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/compose/containers/navigation_container.js
blob: eb630ffbb5dc3b5d0848ecf89a04db49f8108b29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import { connect }   from 'react-redux';
import NavigationBar from '../components/navigation_bar';
import { me } from 'flavours/glitch/util/initial_state';

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

export default connect(mapStateToProps)(NavigationBar);