import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { me } from '../../../initial_state'; import IconButton from '../../../components/icon_button'; import Icon from '../../../components/icon'; const messages = defineMessages({ close: { id: 'lightbox.close', defaultMessage: 'Close' }, }); const mapStateToProps = state => { return { account: state.getIn(['accounts', me]), }; }; class ProUpgradeModal extends ImmutablePureComponent { static propTypes = { intl: PropTypes.object.isRequired, onClose: PropTypes.func.isRequired, }; onClickClose = () => { this.props.onClose('PRO_UPGRADE'); }; render () { const { intl } = this.props; return (
); } } export default injectIntl(connect(mapStateToProps)(ProUpgradeModal));