Merge pull request #448 from lbryio/fix-back-removing-claimid
Stop the back function removing the claim_id from the URI
This commit is contained in:
commit
b8902599c5
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ window.addEventListener("popstate", (event, param) => {
|
||||||
let action;
|
let action;
|
||||||
|
|
||||||
if (hash !== "") {
|
if (hash !== "") {
|
||||||
const url = hash.split("#")[1];
|
const url = hash.replace(/^#/, "");
|
||||||
const { params, scrollY } = event.state || {};
|
const { params, scrollY } = event.state || {};
|
||||||
const queryString = toQueryString(params);
|
const queryString = toQueryString(params);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue