Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 98bc237

Browse files
committed
🔥 suppression de code inutile
1 parent 40ecdbc commit 98bc237

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/app/shared/themes/components/sidebar/sidebar.component.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,11 @@ import { Menu } from '@app/shared/interfaces/menu';
88
styleUrls: ['./sidebar.component.scss']
99
})
1010
export class SidebarComponent implements OnInit {
11-
@Input() menus?: Menu[];
11+
@Input() menus!: Menu[];
1212

13-
constructor() {
14-
}
13+
constructor() {}
1514

1615
ngOnInit(): void {
17-
console.log(this.menus);
18-
}
19-
20-
isArray(value: string | []): boolean {
21-
return Array.isArray(value);
2216
}
2317

2418
}

0 commit comments

Comments
 (0)