diff --git a/corn-frontend/src/app/pages/boards/boards.component.ts b/corn-frontend/src/app/pages/boards/boards.component.ts index 49be08d1..d083eb13 100644 --- a/corn-frontend/src/app/pages/boards/boards.component.ts +++ b/corn-frontend/src/app/pages/boards/boards.component.ts @@ -55,7 +55,7 @@ export class BoardsComponent implements OnInit { ) { } - async ngOnInit() { + async ngOnInit(): Promise { this.selected = this.location.path().split('/').pop() || ''; this.router.events.subscribe((val) => {