From 273cd64b959110e029653a30e9af04a283d55b13 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 16 Jul 2020 15:27:57 +0200 Subject: [PATCH] market address tinkering --- app.config.js | 2 +- src/components/pages/Publish/PublishForm.tsx | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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)