From f631677d381757b85cb4b14bfce92ec8599b6d2d Mon Sep 17 00:00:00 2001 From: Ella Date: Wed, 20 Sep 2023 16:08:47 +0300 Subject: [PATCH] Remove useId arg --- packages/block-editor/src/hooks/style.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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