1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

market address tinkering

This commit is contained in:
Matthias Kretschmann 2020-07-16 15:27:57 +02:00
parent 87263f6ca8
commit 273cd64b95
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 4 additions and 1 deletions

View File

@ -23,5 +23,5 @@ module.exports = {
infuraProjectId: process.env.GATSBY_INFURA_PROJECT_ID || 'xxx', infuraProjectId: process.env.GATSBY_INFURA_PROJECT_ID || 'xxx',
marketAddress: marketAddress:
process.env.GATSBY_MARKET_ADDRESS || process.env.GATSBY_MARKET_ADDRESS ||
'0x903322C7E45A60d7c8C3EA236c5beA9Af86310c7' '0x36A7f3383A63279cDaF4DfC0F3ABc07d90252C6b'
} }

View File

@ -86,6 +86,9 @@ export default function PublishForm({
// User feedback and redirect to new asset detail page // User feedback and redirect to new asset detail page
toast.success('asset created successfully') toast.success('asset created successfully')
toast.dismiss(submittingToast) toast.dismiss(submittingToast)
// TODO: reset form state and make sure persistant form in localStorage is cleared
navigate(`/asset/${ddo.id}`) navigate(`/asset/${ddo.id}`)
} catch (error) { } catch (error) {
console.error(error.message) console.error(error.message)