Fix a bug where refreshing strips the claim_id from the uri #395

Merged
6ea86b96 merged 1 commit from reload-hash-bug into master 2017-07-28 00:02:12 +02:00

View file

@ -4,7 +4,7 @@ import lbry from "lbry";
const currentPath = () => { const currentPath = () => {
const hash = document.location.hash; const hash = document.location.hash;
if (hash !== "") return hash.split("#")[1]; if (hash !== "") return hash.replace(/^#/, "");
else return "/discover"; else return "/discover";
}; };