Skip to content

Commit

Permalink
Fix missing snackbars in Library (#52021)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 authored Jun 28, 2023
1 parent 56ebbcb commit 0d2ad63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/edit-site/src/components/page/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import classnames from 'classnames';
* WordPress dependencies
*/
import { NavigableRegion } from '@wordpress/interface';
import { EditorSnackbars } from '@wordpress/editor';

/**
* Internal dependencies
Expand All @@ -32,7 +33,10 @@ export default function Page( {
actions={ actions }
/>
) }
<div className="edit-site-page-content">{ children }</div>
<div className="edit-site-page-content">
{ children }
<EditorSnackbars />
</div>
</NavigableRegion>
);
}

0 comments on commit 0d2ad63

Please sign in to comment.