diff --git a/plugins/woocommerce-blocks/assets/js/editor-components/block-title/index.js b/plugins/woocommerce-blocks/assets/js/editor-components/block-title/index.js index 41479167165..53735262d29 100644 --- a/plugins/woocommerce-blocks/assets/js/editor-components/block-title/index.js +++ b/plugins/woocommerce-blocks/assets/js/editor-components/block-title/index.js @@ -4,17 +4,29 @@ import PropTypes from 'prop-types'; import { PlainText } from '@wordpress/block-editor'; import classnames from 'classnames'; +import { withInstanceId } from '@wordpress/compose'; +import { __ } from '@wordpress/i18n'; /** * Internal dependencies */ import './editor.scss'; -const BlockTitle = ( { className, headingLevel, onChange, heading } ) => { +const BlockTitle = ( { + className, + headingLevel, + onChange, + heading, + instanceId, +} ) => { const TagName = `h${ headingLevel }`; return ( +