diff --git a/packages/block-library/src/post-featured-image/edit.js b/packages/block-library/src/post-featured-image/edit.js index 1b5a93944bbbd9..3f66acb7cddf2a 100644 --- a/packages/block-library/src/post-featured-image/edit.js +++ b/packages/block-library/src/post-featured-image/edit.js @@ -8,7 +8,6 @@ import { ToggleControl, PanelBody, Placeholder, - withNotices, Button, } from '@wordpress/components'; import { @@ -54,7 +53,6 @@ function PostFeaturedImageDisplay( { attributes, setAttributes, context: { postId, postType, queryId }, - noticeUI, } ) { const isDescendentOfQueryLoop = !! queryId; const { isLink, height, width, scale } = attributes; @@ -111,7 +109,6 @@ function PostFeaturedImageDisplay( { allowedTypes={ ALLOWED_MEDIA_TYPES } onError={ onUploadError } placeholder={ placeholder } - notices={ noticeUI } mediaLibraryButton={ ( { open } ) => { return (