diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index d49f137f467c8..6e46c3b70f495 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Internal + +- `Modal`: Remove children container's unused class name ([#50655](https://github.com/WordPress/gutenberg/pull/50655)). + ## 24.0.0 (2023-05-10) ### Breaking Changes diff --git a/packages/components/src/modal/index.tsx b/packages/components/src/modal/index.tsx index a22dc2a4ec671..d9c7b602b8392 100644 --- a/packages/components/src/modal/index.tsx +++ b/packages/components/src/modal/index.tsx @@ -252,12 +252,7 @@ function UnforwardedModal( ) } ) } -
- { children } -
+
{ children }
diff --git a/packages/edit-post/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap b/packages/edit-post/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap index 5311dfa07b5c4..2ad8e457bae30 100644 --- a/packages/edit-post/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap +++ b/packages/edit-post/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap @@ -43,9 +43,7 @@ exports[`KeyboardShortcutHelpModal should match snapshot when the modal is activ -
+
diff --git a/packages/edit-post/src/components/preferences-modal/test/__snapshots__/index.js.snap b/packages/edit-post/src/components/preferences-modal/test/__snapshots__/index.js.snap index 5a6ff1e5fffee..2d43aa7922f36 100644 --- a/packages/edit-post/src/components/preferences-modal/test/__snapshots__/index.js.snap +++ b/packages/edit-post/src/components/preferences-modal/test/__snapshots__/index.js.snap @@ -102,9 +102,7 @@ exports[`EditPostPreferencesModal should match snapshot when the modal is active
-
+
@@ -725,9 +723,7 @@ exports[`EditPostPreferencesModal should match snapshot when the modal is active
-
+