Use Fragment shortcut

This commit is contained in:
Amine Ben hammou
2019-04-11 15:22:49 +02:00
committed by M. Shull
parent 71634e65a8
commit b91cc0639d

View File

@@ -1,6 +1,6 @@
import React from 'react';
import MailPoet from 'mailpoet';
import PropTypes from 'prop-types';
import React, { Fragment } from 'react';
import ReactStringReplace from 'react-string-replace';
const resumeMailerSending = () => {
@@ -71,7 +71,7 @@ MailerError.propTypes = {
};
const PHPMailerCheckSettingsNotice = () => (
<Fragment>
<>
<p>{ MailPoet.I18n.t('mailerSendErrorCheckConfiguration') }</p>
<br />
<p>
@@ -93,7 +93,7 @@ const PHPMailerCheckSettingsNotice = () => (
</a>
</p>
<br />
</Fragment>
</>
);
const MailerCheckSettingsNotice = () => (