From a15e1f98fa009cbe94868d3c0e5370f603e5845e Mon Sep 17 00:00:00 2001 From: Isaac Grynsztein Date: Thu, 20 Feb 2020 14:29:29 -0500 Subject: [PATCH] fixed compilation error and cleaned up code in app component --- src/app/app.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index a0e6c8d..9d024f7 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -36,7 +36,7 @@ export class AppComponent implements OnInit { @ViewChild('urlinput', { read: ElementRef, static: false }) urlInput: ElementRef; - constructor(private postsService: PostsService, private youtubeSearch: YoutubeSearchService, public snackBar: MatSnackBar, + constructor(public postsService: PostsService, public snackBar: MatSnackBar, public router: Router, public overlayContainer: OverlayContainer) { // loading config