Skip to content

Commit 12e3f60

Browse files
committed
fix(angular): add missing RouterLink import to dashboard component
1 parent 686435b commit 12e3f60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

static/usage/v9/angular/navigation/angular/dashboard_page_component_ts.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
```ts
22
import { Component } from '@angular/core';
3+
import { RouterLink } from '@angular/router';
34
import {
45
IonContent,
56
IonHeader,
@@ -14,7 +15,7 @@ import {
1415
@Component({
1516
selector: 'app-dashboard-page',
1617
templateUrl: 'dashboard-page.component.html',
17-
imports: [IonContent, IonHeader, IonItem, IonLabel, IonList, IonTitle, IonToolbar, IonRouterLink],
18+
imports: [IonContent, IonHeader, IonItem, IonLabel, IonList, IonTitle, IonToolbar, IonRouterLink, RouterLink],
1819
})
1920
export class DashboardPageComponent {
2021
items = [

0 commit comments

Comments
 (0)