Update eslint packages
[MAILPOET-2661]
This commit is contained in:
committed by
Jack Kitterhing
parent
3ce2015dc4
commit
1ce180fcc7
@@ -49,5 +49,13 @@ ConfirmAlert.defaultProps = {
|
||||
|
||||
export default function confirmAlert(props) {
|
||||
// the below render is only to invoke proptypes on ConfirmAlert
|
||||
ReactDOMServer.renderToString(<ConfirmAlert {...props} />);
|
||||
ReactDOMServer.renderToString(
|
||||
<ConfirmAlert
|
||||
title={props.title}
|
||||
message={props.message}
|
||||
cancelLabel={props.cancelLabel}
|
||||
confirmLabel={props.confirmLabel}
|
||||
onConfirm={props.onConfirm}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
@@ -11,7 +11,7 @@ const SenderEmailAddressWarning = ({ emailAddress, mssActive }) => {
|
||||
const emailAddressDomain = emailAddress.split('@').pop().toLowerCase();
|
||||
if (window.mailpoet_free_domains.indexOf(emailAddressDomain) > -1) {
|
||||
return (
|
||||
<React.Fragment>
|
||||
<>
|
||||
<p
|
||||
className="sender_email_address_warning"
|
||||
data-acceptance-id="freemail-sender-warning-old-installation"
|
||||
@@ -39,7 +39,7 @@ const SenderEmailAddressWarning = ({ emailAddress, mssActive }) => {
|
||||
{MailPoet.I18n.t('senderEmailAddressWarning3')}
|
||||
</a>
|
||||
</p>
|
||||
</React.Fragment>
|
||||
</>
|
||||
);
|
||||
}
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user