mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-24 01:28:35 +02:00
Remove debug console log from TreeDragOverlay component
This commit is contained in:
@@ -28,7 +28,6 @@ export function TreeDragOverlay<T extends { id: string }>({
|
|||||||
children: draggingItems
|
children: draggingItems
|
||||||
.map((id) => {
|
.map((id) => {
|
||||||
const child = selectableItems.find((i2) => {
|
const child = selectableItems.find((i2) => {
|
||||||
console.log('i2', i2);
|
|
||||||
return i2.node.item.id === id;
|
return i2.node.item.id === id;
|
||||||
})?.node;
|
})?.node;
|
||||||
return child == null ? null : { ...child, children: undefined };
|
return child == null ? null : { ...child, children: undefined };
|
||||||
|
|||||||
Reference in New Issue
Block a user