import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { FormattedMessage } from 'react-intl'; import ActionBar from '../action_bar'; import Avatar from '../../../../components/avatar'; import Button from '../../../../components/button' import IconButton from '../../../../components/icon_button'; import { me } from '../../../../initial_state'; const mapStateToProps = state => { return { account: state.getIn(['accounts', me]), }; }; export default @connect(mapStateToProps) class NavigationBar extends ImmutablePureComponent { static propTypes = { account: ImmutablePropTypes.map.isRequired, onClose: PropTypes.func, }; render () { const { account } = this.props; return (
); } }