From ef02fe8c820a1719288f30da6a7fae6e19dcfa2f Mon Sep 17 00:00:00 2001 From: Toast Date: Wed, 5 Feb 2025 01:54:17 +0100 Subject: [PATCH] Pages/shows: change delete modal ref to const from let --- src/pages/shows/shows.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/shows/shows.component.ts b/src/pages/shows/shows.component.ts index fefe8a6..1788700 100644 --- a/src/pages/shows/shows.component.ts +++ b/src/pages/shows/shows.component.ts @@ -67,7 +67,7 @@ export class ShowsComponent { } deleteShow(show: Show) { - let modal: NgbModalRef = this.modalService.open(DeleteModalComponent) + const modal: NgbModalRef = this.modalService.open(DeleteModalComponent) modal.componentInstance.showName = show.title; modal.result.then( (result) => {