diff --git a/lib/interviewer/behaviours/DragAndDrop/DropTarget.js b/lib/interviewer/behaviours/DragAndDrop/DropTarget.js index 9d520812..3576d36d 100644 --- a/lib/interviewer/behaviours/DragAndDrop/DropTarget.js +++ b/lib/interviewer/behaviours/DragAndDrop/DropTarget.js @@ -1,5 +1,4 @@ -/* eslint-disable @typescript-eslint/no-empty-function */ -/* eslint-disable react/no-find-dom-node, react/jsx-props-no-spreading */ +/* eslint-disable react/no-find-dom-node */ import React, { Component } from 'react'; import { findDOMNode } from 'react-dom'; @@ -90,9 +89,9 @@ const dropTarget = (WrappedComponent) => { DropTarget.defaultProps = { meta: () => ({}), accepts: () => false, - onDrop: () => {}, - onDrag: () => {}, - onDragEnd: () => {}, + onDrop: () => ({}), + onDrag: () => ({}), + onDragEnd: () => ({}), }; return DropTarget;