diff --git a/src/utils/ipfs.js b/src/utils/ipfs.js index c7a59e1..2ea8744 100644 --- a/src/utils/ipfs.js +++ b/src/utils/ipfs.js @@ -86,10 +86,7 @@ export const uploadToIpfs = async files => { } export const uploadToIpfsGateway = async files => { - const options = { - progress: (prog) => console.log(`received: ${prog}`) - } - const res = await ipfsHttp.add(files, options) + const res = await ipfsHttp.add(files) return `ipfs/${res.slice(-1)[0].hash}` }