Skip to content

Commit 96088ed

Browse files
committed
chore: update
1 parent dd189d4 commit 96088ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/runtime-vapor/src/components/Teleport.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ export const VaporTeleportImpl = {
3939
frag.update()
4040
})
4141

42-
onScopeDispose(frag.remove)
43-
4442
if (__DEV__) {
43+
onScopeDispose(frag.remove)
4544
// used in `normalizeBlock` to get nodes of TeleportFragment during
4645
// HMR updates. returns empty array if content is mounted in target
4746
// container to prevent incorrect parent node lookup.

0 commit comments

Comments
 (0)