diff --git a/src/index.tsx b/src/index.tsx index b308c6ebe..ff6dbacc8 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -583,6 +583,7 @@ function exportAsPNG({ }) { if (!elements.length) return window.alert("Cannot export empty canvas."); + const fileName = prompt("Enter name of project"); // calculate smallest area to fit the contents in let subCanvasX1 = Infinity;