From 5694f1ccc0d89ab80b9ca706725dfb354137692d Mon Sep 17 00:00:00 2001 From: twerske Date: Wed, 11 May 2022 16:10:54 -0700 Subject: [PATCH] fix: v14 streamlines page titles! --- src/app/app.component.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index d875649..5341f83 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -13,22 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { Component, OnInit } from '@angular/core'; - -// TODO: #4. Define unique page titles - add imports +import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'] }) -export class AppComponent implements OnInit { +export class AppComponent { title = 'a11y in Angular'; isDark: boolean | undefined; bodyStyles: CSSStyleDeclaration | undefined; - - // TODO: #4. Define unique page titles - add the TitleService and Router. - constructor() {} - - ngOnInit(): void {} }