diff --git a/aio/content/examples/lifecycle-hooks/src/app/peek-a-boo-parent.component.ts b/aio/content/examples/lifecycle-hooks/src/app/peek-a-boo-parent.component.ts index 3f2bd8585d..7edb57bfc3 100644 --- a/aio/content/examples/lifecycle-hooks/src/app/peek-a-boo-parent.component.ts +++ b/aio/content/examples/lifecycle-hooks/src/app/peek-a-boo-parent.component.ts @@ -43,6 +43,7 @@ export class PeekABooParentComponent { this.heroName = 'Windstorm'; this.logger.clear(); // clear log on create } + this.hookLog = this.logger.logs; this.logger.tick(); }