Fix React key warning [MAILPOET-1873]

This commit is contained in:
Amine Ben hammou
2019-03-12 16:11:27 +01:00
committed by M. Shull
parent 514db707d0
commit ddc860187e

View File

@@ -441,7 +441,7 @@ const MailerMixin = {
ReactStringReplace(
MailPoet.I18n.t('mailerSendErrorUseSendingService'),
/<b>(.*?)<\/b>/g,
match => <b>{ match }</b>
(match, key) => <b key={key}>{ match }</b>
)
}
</p>