From c26b76368da19ab06f83198f9684c4c630cb720d Mon Sep 17 00:00:00 2001 From: Gutts-n Date: Thu, 25 Jan 2024 16:43:47 -0300 Subject: [PATCH] Fixed error to remove anchor from document --- packages/components/src/components/BucketViewer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/components/BucketViewer.tsx b/packages/components/src/components/BucketViewer.tsx index 2a0bf1e1f..254765993 100644 --- a/packages/components/src/components/BucketViewer.tsx +++ b/packages/components/src/components/BucketViewer.tsx @@ -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)}