diff --git a/packages/block-editor/src/components/block-title/index.js b/packages/block-editor/src/components/block-title/index.js index d99bd1e83170e8..c7701527e07a09 100644 --- a/packages/block-editor/src/components/block-title/index.js +++ b/packages/block-editor/src/components/block-title/index.js @@ -50,7 +50,7 @@ export default function BlockTitle( { clientId } ) { ); const blockInformation = useBlockDisplayInformation( clientId ); - if ( ! blockInformation ) return null; + if ( ! name || ! blockInformation ) return null; const blockType = getBlockType( name ); const label = getBlockLabel( blockType, attributes ); // Label will fallback to the title if no label is defined for the