From eb3f6a394ae0010efc4afceecf1ddc8320e09a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20P=C3=B3=C5=82torak?= Date: Tue, 26 Mar 2024 08:57:32 +0100 Subject: [PATCH] Added type --- corn-frontend/src/app/pages/boards/boards.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {