diff --git a/aio/content/examples/toh-pt4/src/app/heroes/heroes.component.ts b/aio/content/examples/toh-pt4/src/app/heroes/heroes.component.ts index a631a85103..5cfb834e69 100644 --- a/aio/content/examples/toh-pt4/src/app/heroes/heroes.component.ts +++ b/aio/content/examples/toh-pt4/src/app/heroes/heroes.component.ts @@ -33,7 +33,7 @@ export class HeroesComponent implements OnInit { onSelect(hero: Hero): void { this.selectedHero = hero; - this.messageService.add(`HeroService: Selected hero id=${hero.id}`); + this.messageService.add(`HeroesComponent: Selected hero id=${hero.id}`); } // #docregion getHeroes