Skip to content

Commit

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

{ isEmpty && ! isTemplatePart && (
<div className="empty-pattern">
{ __('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 @@ -49,7 +49,7 @@ function PreviewField( { item } ) {
>
{ isEmpty && (
<div className="empty-template">
{ __('Empty template') }
{ __( 'Empty template' ) }
</div>
) }

Expand Down

0 comments on commit 123c942

Please sign in to comment.