Skip to content

Commit

Permalink
style: fix formatting issues on the master branch (#22854)
Browse files Browse the repository at this point in the history
PR Close #22854
  • Loading branch information
IgorMinar committed Mar 18, 2018
1 parent 243c86c commit 0bede54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/render3/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ export function renderComponent<T>(
// Create element node at index 0 in data array
elementNode = hostElement(hostNode, componentDef);
// Create directive instance with n() and store at index 1 in data array (el is 0)
component = rootContext.component = baseDirectiveCreate(1, componentDef.factory(), componentDef) as T;
component = rootContext.component =
baseDirectiveCreate(1, componentDef.factory(), componentDef) as T;
initChangeDetectorIfExisting(elementNode.nodeInjector, component);
} finally {
// We must not use leaveView here because it will set creationMode to false too early,
Expand Down

0 comments on commit 0bede54

Please sign in to comment.