refactor(ivy): remove unnecessary call to setPreviousOrParentTNode (#31839)
setPreviousOrParentTNode is set in enterView so no need to reset it just before entering a view. PR Close #31839
This commit is contained in:
parent
430124a051
commit
a4bc0db474
|
@ -413,8 +413,6 @@ export function renderEmbeddedTemplate<T>(viewToRender: LView, tView: TView, con
|
||||||
// Will become true if the `try` block executes with no errors.
|
// Will become true if the `try` block executes with no errors.
|
||||||
let safeToRunHooks = false;
|
let safeToRunHooks = false;
|
||||||
try {
|
try {
|
||||||
setPreviousOrParentTNode(null !, true);
|
|
||||||
|
|
||||||
oldView = enterView(viewToRender, viewToRender[T_HOST]);
|
oldView = enterView(viewToRender, viewToRender[T_HOST]);
|
||||||
resetPreOrderHookFlags(viewToRender);
|
resetPreOrderHookFlags(viewToRender);
|
||||||
executeTemplate(viewToRender, tView.template !, getRenderFlags(viewToRender), context);
|
executeTemplate(viewToRender, tView.template !, getRenderFlags(viewToRender), context);
|
||||||
|
|
Loading…
Reference in New Issue