Remove console
This commit is contained in:
parent
8f659eb975
commit
0347dbf4a2
@ -24,7 +24,6 @@ export default function TableInfo({ data }) {
|
|||||||
const [editField, setEditField] = useState({});
|
const [editField, setEditField] = useState({});
|
||||||
const draggingElementIndex = useRef();
|
const draggingElementIndex = useRef();
|
||||||
const isDragging = useRef();
|
const isDragging = useRef();
|
||||||
console.log(isDragging.current);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
@ -63,7 +62,6 @@ export default function TableInfo({ data }) {
|
|||||||
onDragOver={(e) => {
|
onDragOver={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if (isDragging.current) return;
|
if (isDragging.current) return;
|
||||||
console.log("dragging over...");
|
|
||||||
isDragging.current = true;
|
isDragging.current = true;
|
||||||
draggingElementIndex.current = j;
|
draggingElementIndex.current = j;
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user