Skip to content

Commit

Permalink
Fix typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratmir Tsaregorodtsev authored and Ratmir Tsaregorodtsev committed Sep 22, 2023
1 parent c8666cd commit 901ceeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/model/component/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class Component {
}

private compile(template: string, context: object) {
const contextAndStubs = { ...context, __refs: this.refs };
const contextAndStubs = { ...context, __refs: this.refs, __children: [] };

const html = Handlebars.compile(template)(contextAndStubs);

Expand Down

0 comments on commit 901ceeb

Please sign in to comment.