diff --git a/src/components/App.js b/src/components/App.js index 7f8d507..cd45540 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -102,6 +102,10 @@ class App extends React.Component { window.removeEventListener('keydown', this.onKeyDown); } + dragOver = event => { + event.preventDefault(); + }; + onDrop = async event => { const { openSketch, addImage } = this.props; event.preventDefault();