Skip to content

Commit

Permalink
Fix missing snackbars in Library
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 committed Jun 28, 2023
1 parent 16486bd commit c6d1c4c
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 c6d1c4c

Please sign in to comment.