diff --git a/packages/block-editor/src/components/use-block-commands/index.js b/packages/block-editor/src/components/use-block-commands/index.js index 6a1fc28a8cf4b4..f4b966c8508a2c 100644 --- a/packages/block-editor/src/components/use-block-commands/index.js +++ b/packages/block-editor/src/components/use-block-commands/index.js @@ -22,6 +22,7 @@ import { /** * Internal dependencies */ +import BlockIcon from '../block-icon'; import { store as blockEditorStore } from '../../store'; export const useTransformCommands = () => { @@ -100,7 +101,7 @@ export const useTransformCommands = () => { name: 'core/block-editor/transform-to-' + name.replace( '/', '-' ), // translators: %s: block title/name. label: sprintf( __( 'Transform to %s' ), title ), - icon: icon.src, + icon: , callback: ( { close } ) => { onBlockTransform( name ); close();