fix(usAnnotation): Prevent error after JSON download (#5814)

removed dead code
This commit is contained in:
Dan Rukas authored and GitHub committed 2026-02-12 08:54:13 -05:00
1 parent f81a7543fc
commit 739e3239cf
1 file changed
-8
@@ -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);
},
};