diff --git a/packages/core/src/render3/instructions/shared.ts b/packages/core/src/render3/instructions/shared.ts index b0439ebfd2..71c3270233 100644 --- a/packages/core/src/render3/instructions/shared.ts +++ b/packages/core/src/render3/instructions/shared.ts @@ -413,8 +413,6 @@ export function renderEmbeddedTemplate(viewToRender: LView, tView: TView, con // Will become true if the `try` block executes with no errors. let safeToRunHooks = false; try { - setPreviousOrParentTNode(null !, true); - oldView = enterView(viewToRender, viewToRender[T_HOST]); resetPreOrderHookFlags(viewToRender); executeTemplate(viewToRender, tView.template !, getRenderFlags(viewToRender), context);