Skip to content

Commit

Permalink
chore: omit redundant generic parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
anukul committed Jul 26, 2023
1 parent 8c9f527 commit 9d484f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/utils/uploadFormDataToIPFS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { toast } from "react-toastify";
import { OPTIONS } from "utils/wrapWithToast";

export function uploadFormDataToIPFS(formData: FormData): Promise<Response> {
return toast.promise<Response, Error, void>(
return toast.promise<Response, Error>(
fetch("/.netlify/functions/uploadToIPFS?dapp=court&key=kleros-v2&operation=evidence", {
method: "POST",
body: formData,
Expand Down

0 comments on commit 9d484f4

Please sign in to comment.