From 739e3239cf5765711050b673b373c0145747824f Mon Sep 17 00:00:00 2001 From: Dan Rukas Date: Thu, 12 Feb 2026 08:54:13 -0500 Subject: [PATCH] fix(usAnnotation): Prevent error after JSON download (#5814) removed dead code --- extensions/usAnnotation/src/getCommandsModule.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/extensions/usAnnotation/src/getCommandsModule.ts b/extensions/usAnnotation/src/getCommandsModule.ts index 22fdf04b7..e7f30fa84 100644 --- a/extensions/usAnnotation/src/getCommandsModule.ts +++ b/extensions/usAnnotation/src/getCommandsModule.ts @@ -279,14 +279,6 @@ function commandsModule({ downloadBlob(blob, { filename: `ultrasound_annotations_${new Date().toISOString().slice(0, 10)}.json`, }); - - // Append to the document, click to download, and remove - document.body.appendChild(a); - a.click(); - document.body.removeChild(a); - - // Clean up by revoking the URL - URL.revokeObjectURL(url); }, };