Remove pointless shallow clone
This commit is contained in:
parent
3a37433427
commit
4425c59929
|
@ -29,7 +29,7 @@
|
|||
const eject = () => {
|
||||
// Start the new structure with the root component
|
||||
const rootMap = structureLookupMap[$component.id] || {}
|
||||
let definition = { ...Object.values(rootMap)[0]?.instance }
|
||||
let definition = Object.values(rootMap)[0]?.instance
|
||||
if (!definition) {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue