Skip to content

Commit

Permalink
Remove useId arg
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Sep 20, 2023
1 parent 783a770 commit f631677
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/block-editor/src/hooks/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f631677

Please sign in to comment.