File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
packages/runtime-vapor/src/components Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,7 @@ export const VaporTeleportImpl = {
2929 __vapor : true ,
3030
3131 process ( props : LooseRawProps , slots : LooseRawSlots ) : TeleportFragment {
32- const frag = __DEV__
33- ? new TeleportFragment ( 'teleport' )
34- : new TeleportFragment ( )
35-
32+ const frag = new TeleportFragment ( )
3633 const updateChildrenEffect = renderEffect ( ( ) =>
3734 frag . updateChildren ( slots . default && ( slots . default as BlockFn ) ( ) ) ,
3835 )
@@ -93,10 +90,9 @@ export class TeleportFragment extends VaporFragment {
9390 private mountContainer ?: ParentNode | null
9491 private mountAnchor ?: Node | null
9592
96- constructor ( anchorLabel ?: string ) {
93+ constructor ( ) {
9794 super ( [ ] )
98- this . anchor =
99- __DEV__ && anchorLabel ? createComment ( anchorLabel ) : createTextNode ( )
95+ this . anchor = __DEV__ ? createComment ( 'teleport' ) : createTextNode ( )
10096 }
10197
10298 get currentParent ( ) : ParentNode {
You can’t perform that action at this time.
0 commit comments