catstodon/app/javascript/mastodon/features/compose/containers/navigation_container.js

12 lines
300 B
JavaScript
Raw Normal View History

2017-11-18 04:16:35 +01:00
import { connect } from 'react-redux';
import NavigationBar from '../components/navigation_bar';
import { me } from '../../../initial_state';
const mapStateToProps = state => {
return {
account: state.getIn(['accounts', me]),
};
};
export default connect(mapStateToProps)(NavigationBar);