From aa512d1a33979fc36bab352e05320203009d981c Mon Sep 17 00:00:00 2001
From: Cucumberrbob <128094686+Cucumberrbob@users.noreply.github.com>
Date: Sat, 7 Jun 2025 17:55:28 +0100
Subject: [PATCH] use `const` not `var`
---
client/src/app/torrent/torrent.component.ts | 2 +-
client/src/index.html | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/client/src/app/torrent/torrent.component.ts b/client/src/app/torrent/torrent.component.ts
index 3054525..2df2ed1 100644
--- a/client/src/app/torrent/torrent.component.ts
+++ b/client/src/app/torrent/torrent.component.ts
@@ -108,7 +108,7 @@ export class TorrentComponent implements OnInit {
}),
);
- var blob = new Blob([byteArray], { type: 'application/x-bittorrent' });
+ const blob = new Blob([byteArray], { type: 'application/x-bittorrent' });
saveAs(blob, `${this.torrent.rdName}.torrent`);
}
diff --git a/client/src/index.html b/client/src/index.html
index c00d504..baa81c3 100644
--- a/client/src/index.html
+++ b/client/src/index.html
@@ -6,11 +6,10 @@