Skip to content

best way to save what you love

web/download: remove redundant async

wukkobd93da94dc19
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);