diff --git a/packages/edit-site/src/components/page-patterns/fields.js b/packages/edit-site/src/components/page-patterns/fields.js index 30b8fa2b3476ab..d0d40ced46d7e7 100644 --- a/packages/edit-site/src/components/page-patterns/fields.js +++ b/packages/edit-site/src/components/page-patterns/fields.js @@ -50,13 +50,13 @@ function PreviewField( { item } ) { style={ { backgroundColor } } aria-describedby={ !! description ? descriptionId : undefined } > - { isEmpty && isTemplatePart && ( + { isEmpty && isTemplatePart && (
{ __('Empty template part') }
) } - { isEmpty && !isTemplatePart && ( + { isEmpty && !isTemplatePart && (
{ __('Empty pattern') }
diff --git a/packages/edit-site/src/components/page-templates/fields.js b/packages/edit-site/src/components/page-templates/fields.js index f3f22587a8d6c2..df8ef22b4de822 100644 --- a/packages/edit-site/src/components/page-templates/fields.js +++ b/packages/edit-site/src/components/page-templates/fields.js @@ -47,7 +47,7 @@ function PreviewField( { item } ) { className="page-templates-preview-field" style={ { backgroundColor } } > - { isEmpty && ( + { isEmpty && (
{ __('Empty template') }