Update RecipientList.js

This commit is contained in:
Raktima
2024-03-22 18:06:18 +05:30
committed by GitHub
parent d9da25e908
commit 4f056cc9d3
@@ -44,7 +44,7 @@ const RecipientList = (props) => {
//handle drag start
const handleDragStart = (e, id) => {
// `e.dataTransfer.getData('text/plain')`is used to set the data to be transferred during a drag operation.
// `e.dataTransfer.setData('text/plain')`is used to set the data to be transferred during a drag operation.
// The first argument specifies the type of data being set, and the second argument is the actual data you want to transfer.
e.dataTransfer.setData("text/plain", id);
};