Fix a bug where refreshing strips the claim_id from the uri #395
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue