Fix crash when dragging from client preview into component tree
This commit is contained in:
parent
2ffb29dddf
commit
bebe2f62c3
|
@ -76,6 +76,9 @@
|
|||
const compDef = store.actions.components.getDefinition(
|
||||
$dndStore.source?._component
|
||||
)
|
||||
if (!compDef) {
|
||||
return
|
||||
}
|
||||
const compTypeName = compDef.name.toLowerCase()
|
||||
const path = findComponentPath(currentScreen.props, component._id)
|
||||
|
||||
|
|
Loading…
Reference in New Issue