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

removed dead code
This commit is contained in:
Dan Rukas 2026-02-12 08:54:13 -05:00 committed by GitHub
parent f81a7543fc
commit 739e3239cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
},
};