diff --git a/src/components/widget-image.js b/src/components/widget-image.js index afacaa6..3f9914a 100644 --- a/src/components/widget-image.js +++ b/src/components/widget-image.js @@ -38,13 +38,15 @@ class WidgetImage extends React.Component { } render() { - let file = this.props.files.find(file => file._id === this.props.widget.file); + const file = this.props.files.find(file => file._id === this.props.widget.file); return (