From 9d484f488c011fc1c776fc7757f28abdbc24bd12 Mon Sep 17 00:00:00 2001 From: Anukul Sangwan Date: Wed, 26 Jul 2023 16:10:35 -0600 Subject: [PATCH] chore: omit redundant generic parameter --- web/src/utils/uploadFormDataToIPFS.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/utils/uploadFormDataToIPFS.ts b/web/src/utils/uploadFormDataToIPFS.ts index fd59fe94f..015df7f09 100644 --- a/web/src/utils/uploadFormDataToIPFS.ts +++ b/web/src/utils/uploadFormDataToIPFS.ts @@ -2,7 +2,7 @@ import { toast } from "react-toastify"; import { OPTIONS } from "utils/wrapWithToast"; export function uploadFormDataToIPFS(formData: FormData): Promise { - return toast.promise( + return toast.promise( fetch("/.netlify/functions/uploadToIPFS?dapp=court&key=kleros-v2&operation=evidence", { method: "POST", body: formData,