Skip to content

Commit

Permalink
chore: revert temporarily commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 1, 2024
1 parent f0a8bfd commit 516d4ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/runtime-vapor/src/apiCreateComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function createComponent(
setupComponent(instance)

// register sub-component with current component for lifecycle management
// current.comps.add(instance)
current.comps.add(instance)

return instance
}
2 changes: 1 addition & 1 deletion packages/runtime-vapor/src/componentLifecycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ export function invokeLifecycle(
}

function invokeSub() {
// instance.comps.forEach(comp => invokeLifecycle(comp, lifecycle, cb, post))
instance.comps.forEach(comp => invokeLifecycle(comp, lifecycle, cb, post))
}
}

0 comments on commit 516d4ed

Please sign in to comment.