mirror of
https://github.com/status-im/liquid-funding.git
synced 2025-01-11 03:56:20 +00:00
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 })
|
||||
.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 (
|
||||
<form onSubmit={handleSubmit} className={classes.submissionRoot}>
|
||||
<div className={firstHalf}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user