Skip to content

Commit 91128ed

Browse files
committed
chore: improve code
1 parent 2ee7634 commit 91128ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/runtime-core/src/hydration.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ export function createHydrationFunctions(
633633
if (parent.vnode.el === oldNode) {
634634
parent.vnode.el = newNode
635635
parent.subTree.el = newNode
636+
break
636637
}
637638
parent = parent.parent
638639
}

0 commit comments

Comments
 (0)