Commit 7ac64c73 authored by tom's avatar tom

fix link to form from address page

parent 1f0d8b8c
......@@ -48,7 +48,7 @@ const PublicTagsSubmitForm = ({ config, onSubmitResult }: Props) => {
router.query.companyName ||
router.query.companyWebsite
) {
router.push({ pathname: '/public-tags/submit' }, undefined, { shallow: true });
router.replace({ pathname: '/public-tags/submit' }, undefined, { shallow: true });
}
}, [ router.query.addresses, router ]);
......
......@@ -23,7 +23,7 @@ const PublicTagMenuItem = ({ className, hash, onBeforeClick, type }: Props) => {
return;
}
router.push({ pathname: '/public-tags/submit', query: { address: hash } });
router.push({ pathname: '/public-tags/submit', query: { addresses: [ hash ] } });
}, [ hash, onBeforeClick, router ]);
const element = (() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment