From 2690745f97a2c811d709c3a4c27296cabc5e5db0 Mon Sep 17 00:00:00 2001 From: "d.strigo" Date: Fri, 10 Jul 2020 13:02:28 +0300 Subject: [PATCH] docs(download): fix lint --- .../components/download-form/download-form.component.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/app/shared/components/download-form/download-form.component.ts b/docs/app/shared/components/download-form/download-form.component.ts index 758e1b42..f22cacc6 100644 --- a/docs/app/shared/components/download-form/download-form.component.ts +++ b/docs/app/shared/components/download-form/download-form.component.ts @@ -4,8 +4,8 @@ * Licensed under the MIT License. See License.txt in the project root for license information. */ -import { AfterViewInit, Component, Inject } from '@angular/core'; -import { NB_WINDOW, NbDialogRef } from '@nebular/theme'; +import { AfterViewInit, Component } from '@angular/core'; +import { NbDialogRef } from '@nebular/theme'; @Component({ selector: 'ngx-download-form', @@ -14,8 +14,7 @@ import { NB_WINDOW, NbDialogRef } from '@nebular/theme'; }) export class DownloadFormComponent implements AfterViewInit { - constructor(@Inject(NB_WINDOW) private window, - protected ref: NbDialogRef) { + constructor(protected ref: NbDialogRef) { } ngAfterViewInit() {