Skip to content

Commit

Permalink
temporary fix for frame of media library
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed Aug 15, 2019
1 parent 1a9794e commit 6ecd0e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/block-editor/src/components/media-flow/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const MediaFlow = ( { mediaUpload, className, value, mediaURL, accepts, allowedT
};

const mediaLibraryButton = (

<MediaUploadCheck>
<MediaUpload
onSelect={ ( media ) => selectMedia( media ) }
Expand Down
2 changes: 1 addition & 1 deletion packages/media-utils/src/components/media-upload/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class MediaUpload extends Component {
}

componentWillUnmount() {
this.frame.remove();
//this.frame.remove();
}

onUpdate( selections ) {
Expand Down

0 comments on commit 6ecd0e7

Please sign in to comment.