upload to gateway to ensure pin
This commit is contained in:
parent
51d4eb8bd3
commit
5f9a63eac5
|
@ -204,7 +204,7 @@ const SubmissionSection = ({ classes, history }) => {
|
||||||
.send({ from: account, gas: gas + 100 })
|
.send({ from: account, gas: gas + 100 })
|
||||||
.then(res => {
|
.then(res => {
|
||||||
// cache locally
|
// cache locally
|
||||||
uploadFilesToIpfs(uploads, manifest)
|
uploadFilesToIpfs(uploads, manifest, true)
|
||||||
console.log({res})
|
console.log({res})
|
||||||
openSnackBar('success', addProjectSucessMsg(res))
|
openSnackBar('success', addProjectSucessMsg(res))
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
@ -233,7 +233,6 @@ const SubmissionSection = ({ classes, history }) => {
|
||||||
const { firstHalf, secondHalf, fullWidth } = classes
|
const { firstHalf, secondHalf, fullWidth } = classes
|
||||||
const { goalToken, goal } = values
|
const { goalToken, goal } = values
|
||||||
const usdValue = convertTokenAmountUsd(goalToken, goal, prices)
|
const usdValue = convertTokenAmountUsd(goalToken, goal, prices)
|
||||||
console.log({prices, usdValue})
|
|
||||||
return (
|
return (
|
||||||
<form onSubmit={handleSubmit} className={classes.submissionRoot}>
|
<form onSubmit={handleSubmit} className={classes.submissionRoot}>
|
||||||
<div className={firstHalf}>
|
<div className={firstHalf}>
|
||||||
|
|
Loading…
Reference in New Issue