diff --git a/src/components-examples/material/sidenav/sidenav-responsive/sidenav-responsive-example.html b/src/components-examples/material/sidenav/sidenav-responsive/sidenav-responsive-example.html index cf7c57f17924..e34c05948d25 100644 --- a/src/components-examples/material/sidenav/sidenav-responsive/sidenav-responsive-example.html +++ b/src/components-examples/material/sidenav/sidenav-responsive/sidenav-responsive-example.html @@ -11,7 +11,7 @@

Responsive App

[fixedInViewport]="isMobile()" fixedTopGap="56"> @for (nav of fillerNav; track nav) { - {{nav}} + {{nav}} } diff --git a/src/components-examples/material/sidenav/sidenav-responsive/sidenav-responsive-example.ts b/src/components-examples/material/sidenav/sidenav-responsive/sidenav-responsive-example.ts index a10511604986..f47ad84be085 100644 --- a/src/components-examples/material/sidenav/sidenav-responsive/sidenav-responsive-example.ts +++ b/src/components-examples/material/sidenav/sidenav-responsive/sidenav-responsive-example.ts @@ -5,21 +5,13 @@ import {MatSidenavModule} from '@angular/material/sidenav'; import {MatIconModule} from '@angular/material/icon'; import {MatButtonModule} from '@angular/material/button'; import {MatToolbarModule} from '@angular/material/toolbar'; -import {RouterLink} from '@angular/router'; /** @title Responsive sidenav */ @Component({ selector: 'sidenav-responsive-example', templateUrl: 'sidenav-responsive-example.html', styleUrl: 'sidenav-responsive-example.css', - imports: [ - MatToolbarModule, - MatButtonModule, - MatIconModule, - MatSidenavModule, - MatListModule, - RouterLink, - ], + imports: [MatToolbarModule, MatButtonModule, MatIconModule, MatSidenavModule, MatListModule], }) export class SidenavResponsiveExample implements OnDestroy { protected readonly fillerNav = Array.from({length: 50}, (_, i) => `Nav Item ${i + 1}`);