Skip to content

Commit

Permalink
refactor(built-ins): remove unused code from Teleport and Suspense co…
Browse files Browse the repository at this point in the history
…mponents (#11139)
  • Loading branch information
ferferga committed Jun 22, 2024
1 parent e102670 commit 80ba50d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/runtime-core/src/components/Suspense.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ export const SuspenseImpl = {
}
},
hydrate: hydrateSuspense,
create: createSuspenseBoundary,
normalize: normalizeSuspenseChildren,
}

Expand Down
1 change: 0 additions & 1 deletion packages/runtime-core/src/components/Teleport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ export const TeleportImpl = {
vnode: VNode,
parentComponent: ComponentInternalInstance | null,
parentSuspense: SuspenseBoundary | null,
optimized: boolean,
{ um: unmount, o: { remove: hostRemove } }: RendererInternals,
doRemove: boolean,
) {
Expand Down
1 change: 0 additions & 1 deletion packages/runtime-core/src/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2160,7 +2160,6 @@ function baseCreateRenderer(
vnode,
parentComponent,
parentSuspense,
optimized,
internals,
doRemove,
)
Expand Down

0 comments on commit 80ba50d

Please sign in to comment.