Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

Commit 5694f1c

Browse files
committed
fix: v14 streamlines page titles!
1 parent 5e012cb commit 5694f1c

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

src/app/app.component.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,15 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
import { Component, OnInit } from '@angular/core';
17-
18-
// TODO: #4. Define unique page titles - add imports
16+
import { Component } from '@angular/core';
1917

2018
@Component({
2119
selector: 'app-root',
2220
templateUrl: './app.component.html',
2321
styleUrls: ['./app.component.scss']
2422
})
25-
export class AppComponent implements OnInit {
23+
export class AppComponent {
2624
title = 'a11y in Angular';
2725
isDark: boolean | undefined;
2826
bodyStyles: CSSStyleDeclaration | undefined;
29-
30-
// TODO: #4. Define unique page titles - add the TitleService and Router.
31-
constructor() {}
32-
33-
ngOnInit(): void {}
3427
}

0 commit comments

Comments
 (0)