refactor(ivy): minor code duplication cleanup (#28155)

PR Close #28155
This commit is contained in:
Pawel Kozlowski 2019-01-15 15:47:18 +01:00 committed by Andrew Kushnir
parent 29bff0f02e
commit 4f009e7a03
1 changed files with 0 additions and 2 deletions

View File

@ -348,8 +348,6 @@ export function createEmbeddedViewAndNode<T>(
export function renderEmbeddedTemplate<T>(viewToRender: LView, tView: TView, context: T) {
const _isParent = getIsParent();
const _previousOrParentTNode = getPreviousOrParentTNode();
setIsParent(true);
setPreviousOrParentTNode(null !);
let oldView: LView;
if (viewToRender[FLAGS] & LViewFlags.IsRoot) {
// This is a root view inside the view tree