Skip to content

Commit

Permalink
Clean up customized detail
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Jul 27, 2023
1 parent df68100 commit 065ca5c
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* WordPress dependencies
*/
import { __, sprintf, _x } from '@wordpress/i18n';
import { __, sprintf } from '@wordpress/i18n';
import { store as coreStore } from '@wordpress/core-data';
import { store as editorStore } from '@wordpress/editor';
import { useSelect } from '@wordpress/data';
Expand Down Expand Up @@ -112,9 +112,7 @@ export default function usePatternDetails( postType, postId ) {
label: __( 'Customized' ),
value: (
<span className="edit-site-sidebar-navigation-screen-pattern__added-by-description-customized">
{ addedBy.isCustomized
? _x( 'Yes', 'pattern' )
: _x( 'No', 'pattern' ) }
{ addedBy.isCustomized ? __( 'Yes' ) : __( 'No' ) }
</span>
),
} );
Expand Down

0 comments on commit 065ca5c

Please sign in to comment.