Skip to content

Commit f631677

Browse files
committed
Remove useId arg
1 parent 783a770 commit f631677

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/block-editor/src/hooks/style.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,7 @@ const elementTypes = [
400400
*/
401401
const withElementsStyles = createHigherOrderComponent(
402402
( BlockListBlock ) => ( props ) => {
403-
const blockElementsContainerIdentifier = `wp-elements-${ useId(
404-
BlockListBlock
405-
) }`;
403+
const blockElementsContainerIdentifier = `wp-elements-${ useId() }`;
406404

407405
// The .editor-styles-wrapper selector is required on elements styles. As it is
408406
// added to all other editor styles, not providing it causes reset and global

0 commit comments

Comments
 (0)