diff --git a/31-drag-and-drop/a-drag-and-drop/src/App.js b/31-drag-and-drop/a-drag-and-drop/src/App.js index b3dd048..89c18b5 100644 --- a/31-drag-and-drop/a-drag-and-drop/src/App.js +++ b/31-drag-and-drop/a-drag-and-drop/src/App.js @@ -26,7 +26,7 @@ class App extends Component { }] } - onDragEnd = (result) => { + handleDragEnd = (result) => { // dropped outside the list if(!result.destination) { return; @@ -45,7 +45,7 @@ class App extends Component { render() { return ( - + {(provided, { isDraggingOver }) => (