Skip to content

Commit

Permalink
Fix missing snackbars in Library (WordPress#52021)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 authored and sethrubenstein committed Jul 13, 2023
1 parent 071cfc8 commit fcbde01
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 fcbde01

Please sign in to comment.