2020-03-27 13:59:38 -07:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import NavigationBar from '../components/navigation_bar';
|
|
|
|
|
|
|
|
const mapStateToProps = state => {
|
2020-04-01 19:20:47 -07:00
|
|
|
const me = state.get('me');
|
2020-03-27 13:59:38 -07:00
|
|
|
return {
|
|
|
|
account: state.getIn(['accounts', me]),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
export default connect(mapStateToProps)(NavigationBar);
|