Fixed error to remove anchor from document
This commit is contained in:
parent
058d23678a
commit
c26b76368d
@ -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)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user