mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-14 17:24:51 +01:00
market address tinkering
This commit is contained in:
parent
87263f6ca8
commit
273cd64b95
@ -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'
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user