Fixed error to remove anchor from document
This commit is contained in:
@@ -137,7 +137,7 @@ export function BucketViewer({
|
|||||||
a.download = data.fileName;
|
a.download = data.fileName;
|
||||||
document.body.appendChild(a);
|
document.body.appendChild(a);
|
||||||
a.click();
|
a.click();
|
||||||
document.removeChild(a);
|
document.body.removeChild(a);
|
||||||
}}
|
}}
|
||||||
key={i}
|
key={i}
|
||||||
onMouseEnter={() => setShowDownloadComponentOnLine(i)}
|
onMouseEnter={() => setShowDownloadComponentOnLine(i)}
|
||||||
|
|||||||
Reference in New Issue
Block a user