Skip to content

Commit

Permalink
Change the import of MediaUpload and MediaUpload components
Browse files Browse the repository at this point in the history
- The declaration is marked as deprecated from 6.2
  • Loading branch information
dantovbein committed May 8, 2023
1 parent dd29462 commit 7c5cb4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/src/blocks/SocialMediaCards/SocialMediaCards.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Preview} from '../../components/Preview';
import {
MediaUpload,
MediaUploadCheck,
} from '@wordpress/editor';
} from '@wordpress/block-editor';

import {
TextControl,
Expand Down

0 comments on commit 7c5cb4f

Please sign in to comment.