diff --git a/app.config.js b/app.config.js index d15d4579a..af79fd06f 100644 --- a/app.config.js +++ b/app.config.js @@ -23,5 +23,5 @@ module.exports = { infuraProjectId: process.env.GATSBY_INFURA_PROJECT_ID || 'xxx', marketAddress: process.env.GATSBY_MARKET_ADDRESS || - '0x903322C7E45A60d7c8C3EA236c5beA9Af86310c7' + '0x36A7f3383A63279cDaF4DfC0F3ABc07d90252C6b' } diff --git a/src/components/pages/Publish/PublishForm.tsx b/src/components/pages/Publish/PublishForm.tsx index c52a0b0a7..d026cb050 100644 --- a/src/components/pages/Publish/PublishForm.tsx +++ b/src/components/pages/Publish/PublishForm.tsx @@ -86,6 +86,9 @@ export default function PublishForm({ // User feedback and redirect to new asset detail page toast.success('asset created successfully') toast.dismiss(submittingToast) + + // TODO: reset form state and make sure persistant form in localStorage is cleared + navigate(`/asset/${ddo.id}`) } catch (error) { console.error(error.message)