fix bug moving

This commit is contained in:
PhilReact 2024-12-01 14:20:17 +02:00
parent 4f365a3b98
commit e113143f50

View File

@ -282,6 +282,9 @@ moveNode, currentPath, item }) => {
alignItems: 'center'
}}>
<button onClick={()=> {
if(!targetPath || targetPath?.length === 0) return
moveNode(
item.name,
item.type,