Remove pointless shallow clone

This commit is contained in:
Andrew Kingston 2023-07-17 16:57:56 +01:00
parent 3a37433427
commit 4425c59929
1 changed files with 1 additions and 1 deletions

View File

@ -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
}