Skip to content

Commit

Permalink
move filter to PostFeaturedImage
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Silverstein committed Jul 3, 2018
1 parent 40fd2f2 commit 77a4366
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions edit-post/components/sidebar/featured-image/index.js
Expand Up @@ -7,7 +7,7 @@ import { get, partial } from 'lodash';
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { PanelBody, withFilters } from '@wordpress/components';
import { PanelBody } from '@wordpress/components';
import { PostFeaturedImage, PostFeaturedImageCheck } from '@wordpress/editor';
import { compose } from '@wordpress/element';
import { withSelect, withDispatch } from '@wordpress/data';
Expand Down Expand Up @@ -57,5 +57,4 @@ const applyWithDispatch = withDispatch( ( dispatch ) => {
export default compose(
applyWithSelect,
applyWithDispatch,
withFilters( 'editor.FeaturedImage' ),
)( FeaturedImage );
3 changes: 2 additions & 1 deletion editor/components/post-featured-image/index.js
Expand Up @@ -7,7 +7,7 @@ import { get } from 'lodash';
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { Button, Spinner, ResponsiveWrapper } from '@wordpress/components';
import { Button, Spinner, ResponsiveWrapper, withFilters } from '@wordpress/components';
import { compose } from '@wordpress/element';
import { withSelect, withDispatch } from '@wordpress/data';

Expand Down Expand Up @@ -114,4 +114,5 @@ const applyWithDispatch = withDispatch( ( dispatch ) => {
export default compose(
applyWithSelect,
applyWithDispatch,
withFilters( 'editor.PostFeaturedImage' ),
)( PostFeaturedImage );

0 comments on commit 77a4366

Please sign in to comment.