mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-28 16:07:51 +00:00
12 lines
312 B
JavaScript
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);
|