From bd93da94dc190d8f1bd419771793848565a36163 Mon Sep 17 00:00:00 2001 From: wukko Date: Mon, 9 Sep 2024 19:36:08 +0600 Subject: [PATCH] web/download: remove redundant async --- web/src/lib/download.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/download.ts b/web/src/lib/download.ts index 785d520d..b0c80d31 100644 --- a/web/src/lib/download.ts +++ b/web/src/lib/download.ts @@ -20,7 +20,7 @@ const openSavingDialog = ({ url, file, body }: { url?: string, file?: File, body createDialog(dialogData) } -export const openFile = async (file: File) => { +export const openFile = (file: File) => { const a = document.createElement("a"); const url = URL.createObjectURL(file);