Skip to content

Commit

Permalink
Feedback change
Browse files Browse the repository at this point in the history
  • Loading branch information
benazeer-ben committed Dec 6, 2024
1 parent 4f467bb commit 0d6f16d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { useState } from '@wordpress/element';

/**
Expand All @@ -15,10 +16,10 @@ export default {

export const Default = {
render: function Template( props ) {
const [ value, setValue ] = useState( 'New Name' );
const [ value, setValue ] = useState( __( 'New Name' ) );
return (
<BlockRenameControl
label="Rename"
label={ __( 'Rename' ) }
value={ value }
onChange={ setValue }
{ ...props }
Expand Down

0 comments on commit 0d6f16d

Please sign in to comment.