Skip to content

Commit 43b6c33

Browse files
[autofix.ci] apply automated fixes
1 parent bba4657 commit 43b6c33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/runtime-core/src/renderer.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -2484,13 +2484,13 @@ export function traverseStaticChildren(
24842484
if (c2.type === Text) {
24852485
c2.el = c1.el
24862486
}
2487-
if (__DEV__ ) {
2487+
if (__DEV__) {
24882488
// #2324 also inherit for comment nodes, but not placeholders (e.g. v-if which
24892489
// would have received .el during block patch)
2490-
if(c2.type === Comment && !c2.el) {
2490+
if (c2.type === Comment && !c2.el) {
24912491
c2.type === Comment && !c2.el
24922492
}
2493-
2493+
24942494
c2.el && (c2.el.__vnode = c2)
24952495
}
24962496
}

0 commit comments

Comments
 (0)