1
0
puyopuyotetr.is/app/javascript/themes/glitch/features/compose/containers/navigation_container.js
2017-11-17 19:29:16 -08:00

12 lines
310 B
JavaScript

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);