Skip to content

Commit ea43245

Browse files
author
BaluB
committed
fized the issue to 2 pdf files being downloaded
1 parent bab3ba2 commit ea43245

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ form.addEventListener("submit",(e)=>{
2525
doc.setFontSize(40)
2626
doc.text(20, 20, 'Personal Details');
2727

28-
doc.text('Hello world!', 10, 10)
29-
doc.save('a4.pdf')
28+
doc.text('Hello world!', 10, 10);
3029

3130
doc.save(`${fullName}.pdf`);
3231

0 commit comments

Comments
 (0)