Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Jan 1, 2025
1 parent c53b0ef commit d23e1b3
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 56 deletions.
6 changes: 3 additions & 3 deletions projects/showcase/src/app/demo/demo-index.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
import { cloneDeep, groupBy } from 'lodash-es';
import { first } from 'rxjs/operators';
import scrollIntoView from 'scroll-into-view-if-needed';
import { Category, DEMO_ROUTES } from './routes';
import { CATEGORIES, DEMO_ROUTES } from './routes';
import { MatDividerModule } from '@angular/material/divider';
import { MatListModule } from '@angular/material/list';
import { MatInputModule } from '@angular/material/input';
Expand All @@ -33,7 +33,7 @@ import { MatIconModule } from '@angular/material/icon';
import { MatButtonModule } from '@angular/material/button';
import { LayoutToolbarMenuComponent } from '../shared/layout/layout-toolbar-menu.component';

type RoutesByCategory = { [key: string]: Routes };
interface RoutesByCategory { [key: string]: Routes }

@Component({
templateUrl: './demo-index.component.html',
Expand Down Expand Up @@ -79,7 +79,7 @@ export class DemoIndexComponent implements OnInit {
)
))
);
this.categories = Object.values(Category);
this.categories = Object.values(CATEGORIES);

afterNextRender(() => {
this.scrollInToActiveExampleLink();
Expand Down
Loading

0 comments on commit d23e1b3

Please sign in to comment.