Fixed error to remove anchor from document

This commit is contained in:
Gutts-n 2024-01-25 16:43:47 -03:00
parent 058d23678a
commit c26b76368d

View File

@ -137,7 +137,7 @@ export function BucketViewer({
a.download = data.fileName;
document.body.appendChild(a);
a.click();
document.removeChild(a);
document.body.removeChild(a);
}}
key={i}
onMouseEnter={() => setShowDownloadComponentOnLine(i)}