From dda92bd41f4bee11e2cc5de265ce4fbf5221f1ff Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 20 Sep 2023 13:10:36 +0200 Subject: autoformat with eslint --- webAO/services/downloadFile.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'webAO/services/downloadFile.ts') diff --git a/webAO/services/downloadFile.ts b/webAO/services/downloadFile.ts index 058075f..d272249 100644 --- a/webAO/services/downloadFile.ts +++ b/webAO/services/downloadFile.ts @@ -1,8 +1,8 @@ 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(); + const a = document.createElement('a'); + const file = new Blob([content], { type: 'text' }); + a.href = URL.createObjectURL(file); + a.download = filename; + a.click(); } -export default downloadFile \ No newline at end of file +export default downloadFile -- cgit