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