Skip to content

Add missing @emotion/react dep to block-editor#52475

Merged
Mamaduka merged 1 commit intoWordPress:trunkfrom
anomiex:add/missing-emotion-react-dep
Jul 11, 2023
Merged

Add missing @emotion/react dep to block-editor#52475
Mamaduka merged 1 commit intoWordPress:trunkfrom
anomiex:add/missing-emotion-react-dep

Conversation

@anomiex
Copy link
Copy Markdown
Contributor

@anomiex anomiex commented Jul 10, 2023

What?

Add a missing dependency on @emotion/react from block-editor.

Why?

PR #51545 added a dependency on @emotion/styled, which resulted in a transitive peer dependency on @emotion/react. We should satisfy that dependency ourself, just as we do in the components package.

How?

Add the missing dep.

Testing Instructions

Fixes #52474. See reproduction steps there.

PR WordPress#51545 added a dependency on `@emotion/styled`, which resulted in a
transitive peer dependency on `@emotion/react`. We should satisfy that
dependency ourself, just as we do in the components package.
@anomiex anomiex requested a review from ellatrix as a code owner July 10, 2023 15:20
Copy link
Copy Markdown
Contributor

@scruffian scruffian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for fixing.

@Mamaduka Mamaduka merged commit 8ef7925 into WordPress:trunk Jul 11, 2023
@github-actions github-actions bot added this to the Gutenberg 16.3 milestone Jul 11, 2023
@mburridge mburridge added [Type] Code Quality Issues or PRs that relate to code quality [Package] Block editor /packages/block-editor labels Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Block editor /packages/block-editor [Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected missing peer dependency in @wordpress/block-editor 12.5.0

4 participants