fix: handle urls with # on lbry.tv

This commit is contained in:
Sean Yesmunt 2019-08-27 12:05:23 -04:00
parent b49b2db831
commit 2e91167fc3

View file

@ -11,9 +11,10 @@ import { selectBlackListedOutpoints } from 'lbryinc';
import ShowPage from './view'; import ShowPage from './view';
const select = (state, props) => { const select = (state, props) => {
const { pathname } = props.location; const { pathname, hash } = props.location;
const urlPath = pathname + hash;
// Remove the leading "/" added by the browser // Remove the leading "/" added by the browser
const path = pathname.slice(1).replace(/:/g, '#'); const path = urlPath.slice(1).replace(/:/g, '#');
let uri; let uri;
try { try {