broulik added inline comments. | View Revision
Can you split that into a function so we then have
onDragEnter: { if (!isAcceptableDragEvent(event)) { event.ignore() return } } onDrop: { if (!isAcceptableDragEvent(event)) { event.ignore() return } ... }
const