Merge pull request #395 from lbryio/reload-hash-bug

Fix a bug where refreshing strips the claim_id from the uri
This commit is contained in:
Jeremy Kauffman 2017-07-27 18:02:12 -04:00 committed by GitHub
commit 152da72fc9

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";
};