From bfcd33e6bb7399da4d1a1b10c33ac9498dbdac9d Mon Sep 17 00:00:00 2001 From: Israel Adura Date: Sun, 5 Jan 2020 18:01:26 +0000 Subject: [PATCH] rebased branch --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 39814854a..49edf76e1 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -626,7 +626,7 @@ function exportAsPNG({ } ); - saveFile("excalidraw.png", tempCanvas.toDataURL("image/png")); + saveFile(name, tempCanvas.toDataURL("image/png")); // clean up the DOM if (tempCanvas !== canvas) tempCanvas.remove();