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:
Jeremy Kauffman 2017-08-07 16:42:26 -04:00 committed by GitHub
commit b8902599c5

View file

@ -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);