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