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
Showing only changes of commit 603217f554 - Show all commits

View file

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