diff --git a/ui/js/reducers/app.js b/ui/js/reducers/app.js index 6ee007b86..497915e89 100644 --- a/ui/js/reducers/app.js +++ b/ui/js/reducers/app.js @@ -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"; };