diff options
Diffstat (limited to 'webAO/services/downloadFile.ts')
| -rw-r--r-- | webAO/services/downloadFile.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/webAO/services/downloadFile.ts b/webAO/services/downloadFile.ts index 3774e9b..058075f 100644 --- a/webAO/services/downloadFile.ts +++ b/webAO/services/downloadFile.ts @@ -1,8 +1,6 @@ const downloadFile = (content: string, filename: string) => { - const a = document.createElement('a'); const file = new Blob([content], {type: 'text'}); - a.href= URL.createObjectURL(file); a.download = filename; a.click(); |
