Remove address parameter from URL when updating transaction hash for sharing
This commit is contained in:
parent
bde6def8b4
commit
bce7df261c
@ -2005,6 +2005,7 @@ async function checkTransactionDetails() {
|
|||||||
|
|
||||||
// Update URL for sharing
|
// Update URL for sharing
|
||||||
const currentUrl = new URL(window.location);
|
const currentUrl = new URL(window.location);
|
||||||
|
currentUrl.searchParams.delete("address");
|
||||||
currentUrl.searchParams.set("tx", txHash);
|
currentUrl.searchParams.set("tx", txHash);
|
||||||
window.history.pushState({}, "", currentUrl);
|
window.history.pushState({}, "", currentUrl);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user