Remove sender free address warning from wizard

[MAILPOET-1925]
This commit is contained in:
Pavel Dohnal
2019-04-04 10:17:42 +02:00
committed by M. Shull
parent 4b7ebc330a
commit 34b9d07c4e
3 changed files with 0 additions and 13 deletions

View File

@@ -3,8 +3,6 @@ import React from 'react';
import MailPoet from 'mailpoet';
import jQuery from 'jquery';
import SenderEmailAddressWarning from 'common/sender_email_address_warning.jsx';
const WelcomeWizardSenderStep = props => (
<div className="mailpoet_welcome_wizard_step_content mailpoet_welcome_wizard_centered_column">
<h1>{MailPoet.I18n.t('welcomeWizardLetsStartTitle')}</h1>
@@ -45,11 +43,6 @@ const WelcomeWizardSenderStep = props => (
onChange={e => props.update_sender({ address: e.target.value })}
/>
</label>
<SenderEmailAddressWarning
emailAddress={props.sender.address}
mssActive={props.mssActive}
pluginInstalledAt={props.pluginInstalledAt}
/>
<input className="button button-primary" type="submit" value={MailPoet.I18n.t('next')} />
<a onClick={props.finish} href="#finish" className="sender_form_small">{MailPoet.I18n.t('noThanksSkip')}</a>
</form>
@@ -65,8 +58,6 @@ WelcomeWizardSenderStep.propTypes = {
name: PropTypes.string,
address: PropTypes.string,
}),
mssActive: PropTypes.bool.isRequired,
pluginInstalledAt: PropTypes.string.isRequired,
};
WelcomeWizardSenderStep.defaultProps = {

View File

@@ -83,8 +83,6 @@ const WelcomeWizardStepsController = (props) => {
finish={finishWizard}
loading={loading}
sender={sender}
pluginInstalledAt={window.mailpoet_installed_at}
mssActive={window.mailpoet_mss_active}
/>
) : null
}