diff --git a/src/composition-engine.js b/src/composition-engine.js index d7d56f3d..5ecee229 100644 --- a/src/composition-engine.js +++ b/src/composition-engine.js @@ -101,7 +101,7 @@ export class CompositionEngine { } return instruction.view.loadViewFactory(this.viewEngine).then(viewFactory => { - result = viewFactory.create(childContainer, instruction.executionContext); + var result = viewFactory.create(instruction.childContainer, instruction.executionContext); instruction.viewSlot.swap(result); return result; });