Skip to content

Commit 399dfaf

Browse files
committed
refactor(custom-elements): remove unnecessary call to _inheritParentContext
Calling `_inheritParentContext` inside `_setParent` should be sufficient.
1 parent 4fae27c commit 399dfaf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/runtime-dom/src/apiCustomElement.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ export class VueElement
292292
) {
293293
if (parent instanceof VueElement) {
294294
this._parent = parent
295-
this._inheritParentContext()
296295
break
297296
}
298297
}

0 commit comments

Comments
 (0)