fix: v14 streamlines page titles!

This commit is contained in:
twerske
2022-05-11 16:10:54 -07:00
parent 5e012cb606
commit 5694f1ccc0

View File

@@ -13,22 +13,15 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import { Component, OnInit } from '@angular/core'; import { Component } from '@angular/core';
// TODO: #4. Define unique page titles - add imports
@Component({ @Component({
selector: 'app-root', selector: 'app-root',
templateUrl: './app.component.html', templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'] styleUrls: ['./app.component.scss']
}) })
export class AppComponent implements OnInit { export class AppComponent {
title = 'a11y in Angular'; title = 'a11y in Angular';
isDark: boolean | undefined; isDark: boolean | undefined;
bodyStyles: CSSStyleDeclaration | undefined; bodyStyles: CSSStyleDeclaration | undefined;
// TODO: #4. Define unique page titles - add the TitleService and Router.
constructor() {}
ngOnInit(): void {}
} }