From 5f9a63eac56f81eb728a72cd046ed245c2ef5b21 Mon Sep 17 00:00:00 2001 From: Barry Gitarts Date: Mon, 29 Jul 2019 15:48:28 -0400 Subject: [PATCH] upload to gateway to ensure pin --- src/components/projects/CreateProject.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/projects/CreateProject.jsx b/src/components/projects/CreateProject.jsx index 5d05331..4966e96 100644 --- a/src/components/projects/CreateProject.jsx +++ b/src/components/projects/CreateProject.jsx @@ -204,7 +204,7 @@ const SubmissionSection = ({ classes, history }) => { .send({ from: account, gas: gas + 100 }) .then(res => { // cache locally - uploadFilesToIpfs(uploads, manifest) + uploadFilesToIpfs(uploads, manifest, true) console.log({res}) openSnackBar('success', addProjectSucessMsg(res)) setTimeout(() => { @@ -233,7 +233,6 @@ const SubmissionSection = ({ classes, history }) => { const { firstHalf, secondHalf, fullWidth } = classes const { goalToken, goal } = values const usdValue = convertTokenAmountUsd(goalToken, goal, prices) - console.log({prices, usdValue}) return (