Skip to content

Commit 4297822

Browse files
committed
refactor(runtime-vapor): make renderBranch method public
1 parent a844a8f commit 4297822

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime-vapor/src/fragment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,12 @@ export class DynamicFragment extends VaporFragment {
189189
if (isHydrating) this.hydrate()
190190
}
191191

192-
private renderBranch(
192+
renderBranch(
193193
render: BlockFn | undefined,
194194
transition: VaporTransitionHooks | undefined,
195195
parent: ParentNode | null,
196196
instance: GenericComponentInstance | null,
197-
) {
197+
): void {
198198
if (render) {
199199
// try to reuse the kept-alive scope
200200
const scope = this.getScope && this.getScope(this.current)

0 commit comments

Comments
 (0)