mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Update index.tsx
This commit is contained in:
parent
b3e427db9a
commit
9dc6429946
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue