diff --git a/src/index.tsx b/src/index.tsx index b8c91a10c..69bccb67c 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -491,7 +491,7 @@ function exportAsPNG({ link.setAttribute("href", tempCanvas.toDataURL("image/png")); link.click(); - // // clean up the DOM + // clean up the DOM link.remove(); if (tempCanvas !== canvas) tempCanvas.remove(); }