From f3214774550baad4f167abb4e89acfaf523df92c Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 26 Jan 2026 18:29:42 +0000 Subject: [PATCH] fix(s3): remove duplicate normalizedInfoHash declaration Removes a redundant `const normalizedInfoHash` declaration in `s3UploadService.js` that caused a `SyntaxError` and prevented the application from loading. The variable is already declared in the outer scope of the `try` block. --- js/services/s3UploadService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/services/s3UploadService.js b/js/services/s3UploadService.js index 965f6c34..a5c58e1e 100644 --- a/js/services/s3UploadService.js +++ b/js/services/s3UploadService.js @@ -327,7 +327,7 @@ class S3UploadService { return false; } - const normalizedInfoHash = normalizeInfoHash(infoHash); + // normalizedInfoHash is already calculated above const hasValidInfoHash = isValidInfoHash(normalizedInfoHash); let generatedMagnet = ""; let generatedWs = "";