Skip to content

Commit ba93f28

Browse files
committed
chore: revert changes
1 parent db8a589 commit ba93f28

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/runtime-vapor/src/block.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ export class DynamicFragment extends VaporFragment {
5959
if (render) {
6060
this.scope = new EffectScope()
6161
this.nodes = this.scope.run(render) || []
62-
if (parent) {
63-
insert(this.nodes, parent, this.anchor)
64-
}
62+
if (parent) insert(this.nodes, parent, this.anchor)
6563
} else {
6664
this.scope = undefined
6765
this.nodes = []

0 commit comments

Comments
 (0)