Skip to content

Commit e17e936

Browse files
committed
chore: tweaks
1 parent 2ba4dc0 commit e17e936

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/runtime-vapor/src/block.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ export class DynamicFragment extends VaporFragment {
7070
// if current nodes is a DynamicFragment, call its update with the fallback
7171
// to handle nested dynamic fragment
7272
if (this.nodes instanceof DynamicFragment) {
73-
this.nodes.update(this.fallback)
73+
if (!this.nodes.fallback) this.nodes.fallback = this.fallback
74+
this.nodes.update(this.nodes.fallback)
7475
} else {
7576
this.nodes =
7677
(this.scope || (this.scope = new EffectScope())).run(this.fallback) ||

0 commit comments

Comments
 (0)