diff --git a/packages/block-editor/src/hooks/style.js b/packages/block-editor/src/hooks/style.js index 8a9d899c3f9d9..691d7ef751c15 100644 --- a/packages/block-editor/src/hooks/style.js +++ b/packages/block-editor/src/hooks/style.js @@ -400,9 +400,7 @@ const elementTypes = [ */ const withElementsStyles = createHigherOrderComponent( ( BlockListBlock ) => ( props ) => { - const blockElementsContainerIdentifier = `wp-elements-${ useId( - BlockListBlock - ) }`; + const blockElementsContainerIdentifier = `wp-elements-${ useId() }`; // The .editor-styles-wrapper selector is required on elements styles. As it is // added to all other editor styles, not providing it causes reset and global