From 397530ab24696779faf4fb3f1ad1a244bbe04418 Mon Sep 17 00:00:00 2001 From: Dario Braun Date: Tue, 31 Jul 2018 11:54:35 +0200 Subject: [PATCH] docs: remove code in universal hero detail component (#25215) This reverts commit e9cc3dad8f39bc8dfabfb708a825f90fcd2ab697. PR Close #25215 --- .../universal/src/app/hero-detail/hero-detail.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/examples/universal/src/app/hero-detail/hero-detail.component.ts b/aio/content/examples/universal/src/app/hero-detail/hero-detail.component.ts index 5745fb8677..25f8d6d9e5 100644 --- a/aio/content/examples/universal/src/app/hero-detail/hero-detail.component.ts +++ b/aio/content/examples/universal/src/app/hero-detail/hero-detail.component.ts @@ -1,4 +1,4 @@ -import { Component, OnInit, Input } from '@angular/core'; +import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { Location } from '@angular/common'; @@ -11,7 +11,7 @@ import { HeroService } from '../hero.service'; styleUrls: [ './hero-detail.component.css' ] }) export class HeroDetailComponent implements OnInit { - @Input() hero: Hero; + hero: Hero; constructor( private route: ActivatedRoute,