Pre-fetch editor script

[MAILPOET-2376]
This commit is contained in:
Pavel Dohnal
2019-09-24 09:40:48 +02:00
committed by Jack Kitterhing
parent f0afcbcdce
commit c885a395c2
3 changed files with 18 additions and 4 deletions

View File

@@ -173,6 +173,7 @@ class NewsletterTypes extends React.Component {
return (
<div>
<link rel="prefetch" href={window.mailpoet_editor_javascript_url} as="script" />
<h1>{MailPoet.I18n.t('pickCampaignType')}</h1>
<Breadcrumb step="type" />