Don’t double clone nodes
This commit is contained in:
parent
65e2c17627
commit
5e2fd98f60
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ export function substituteAtApply(ast: AstNode[], designSystem: DesignSystem) {
|
|||
candidateSrc[1] += 7 + candidateOffset
|
||||
candidateSrc[2] = candidateSrc[1] + candidate.length
|
||||
|
||||
return { node: structuredClone(node), src: candidateSrc }
|
||||
return { node, src: candidateSrc }
|
||||
})
|
||||
|
||||
for (let { node, src } of details) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue