Skip to content

Commit 5ea8f19

Browse files
committed
test(angular): fixing over-import of RouterModule in the standalone router-link test
1 parent 21f49b0 commit 5ea8f19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { Component } from '@angular/core';
2-
import { RouterModule } from '@angular/router';
2+
import { RouterLink } from '@angular/router';
33
import { IonRouterLink, IonRouterLinkWithHref } from '@ionic/angular/standalone';
44

55
@Component({
66
selector: 'app-router-link',
77
templateUrl: './router-link.component.html',
88
standalone: true,
9-
imports: [RouterModule, IonRouterLink, IonRouterLinkWithHref],
9+
imports: [RouterLink, IonRouterLink, IonRouterLinkWithHref],
1010
})
1111
export class RouterLinkComponent {}

0 commit comments

Comments
 (0)