about summary refs log tree commit diff
path: root/app/javascript/themes/glitch/features/compose/containers/navigation_container.js
blob: b6d737b462d09241451d10ed1146e4cffe8f0403 (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 'themes/glitch/util/initial_state';

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

export default connect(mapStateToProps)(NavigationBar);