mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
fix link to form from address page
This commit is contained in:
@@ -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 = (() => {
|
||||
|
||||
Reference in New Issue
Block a user