Fix message construction
[MAILPOET-1890]
This commit is contained in:
@@ -24,7 +24,7 @@ const NewInstallationWithMSSWarning = ({ emailAddress }) => (
|
||||
MailPoet.I18n.t('senderEmailAddressNewInstallWarning2'),
|
||||
/(%suggested|%originalSender)/,
|
||||
(match) => {
|
||||
if (match === '<em>%suggested</em>') return <em key="suggested-email">{ suggestedEmailAddress }</em>;
|
||||
if (match === '%suggested') return <em key="suggested-email">{ suggestedEmailAddress }</em>;
|
||||
return <em key="sender-email">{ emailAddress }</em>;
|
||||
}
|
||||
)}
|
||||
|
Reference in New Issue
Block a user