mastodon/app/javascript/flavours/glitch/features/compose/containers/navigation_container.js
2017-12-03 23:26:40 -08:00

12 lines
312 B
JavaScript

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