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() {