diff --git a/src/components/Widgets/ImagePreview.js b/src/components/Widgets/ImagePreview.js index 90b2da19..7445a405 100644 --- a/src/components/Widgets/ImagePreview.js +++ b/src/components/Widgets/ImagePreview.js @@ -3,16 +3,10 @@ import React from 'react'; export default class ImagePreview extends React.Component { constructor(props) { super(props); - this.handleImageLoaded = this.handleImageLoaded.bind(this); - } - - handleImageLoaded() { - window.URL.revokeObjectURL(this.props.value); } render() { - console.log(this.props) const { value } = this.props; - return value ? : null; + return value ? : null; } }