diff --git a/src/components/drag-and-drop/DndProvider.tsx b/src/components/drag-and-drop/DndProvider.tsx index 0c524209220..2dab939c99b 100644 --- a/src/components/drag-and-drop/DndProvider.tsx +++ b/src/components/drag-and-drop/DndProvider.tsx @@ -197,9 +197,7 @@ export const DndProvider = forwardRef { const { state, x, y } = event; - debug && console.log('onStart', { state, x, y }); - const activeId = findActiveLayoutId({ x, y }); // No item found, ignore gesture. @@ -210,7 +208,6 @@ export const DndProvider = forwardRef id === activeId); - // const activeCenterPoint = centerPoint(activeLayout); - // console.log(`activeLayout: ${JSON.stringify(activeLayout)}`); for (let itemIndex = 0; itemIndex < sortOrder.length; itemIndex++) { const itemId = sortOrder[itemIndex]; if (itemId === activeId) { @@ -58,7 +56,6 @@ export const useDraggableSort = ({ }); if (shouldSwapWorklet(activeLayout, itemLayout, direction)) { - // console.log(`Found placeholder index ${itemIndex} using custom shouldSwapWorklet!`); return itemIndex; } }