From 2e91167fc37f99a6739fafae252c6350050d0a92 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 27 Aug 2019 12:05:23 -0400 Subject: [PATCH] fix: handle urls with # on lbry.tv --- src/ui/page/show/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ui/page/show/index.js b/src/ui/page/show/index.js index 6f464f253..f39159fd9 100644 --- a/src/ui/page/show/index.js +++ b/src/ui/page/show/index.js @@ -11,9 +11,10 @@ import { selectBlackListedOutpoints } from 'lbryinc'; import ShowPage from './view'; const select = (state, props) => { - const { pathname } = props.location; + const { pathname, hash } = props.location; + const urlPath = pathname + hash; // Remove the leading "/" added by the browser - const path = pathname.slice(1).replace(/:/g, '#'); + const path = urlPath.slice(1).replace(/:/g, '#'); let uri; try {