Skip to content

Commit

Permalink
Added tab in js instead of space
Browse files Browse the repository at this point in the history
  • Loading branch information
shail-mehta committed Jan 22, 2025
1 parent 8a153f8 commit b494356
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/edit-site/src/components/page-patterns/fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ function PreviewField( { item } ) {
style={ { backgroundColor } }
aria-describedby={ !! description ? descriptionId : undefined }
>
{ isEmpty && isTemplatePart && (
{ isEmpty && isTemplatePart && (
<div className="empty-template-part">
{ __('Empty template part') }
</div>
) }

{ isEmpty && !isTemplatePart && (
{ isEmpty && !isTemplatePart && (
<div className="empty-pattern">
{ __('Empty pattern') }
</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/page-templates/fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function PreviewField( { item } ) {
className="page-templates-preview-field"
style={ { backgroundColor } }
>
{ isEmpty && (
{ isEmpty && (
<div className="empty-template">
{ __('Empty template') }
</div>
Expand Down

0 comments on commit b494356

Please sign in to comment.