From e5f3345d9b04c3f28cd8a5d879cf3dca26dc4c4b Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 3 Oct 2019 14:59:40 -0400 Subject: [PATCH] test to see if it fixes infinite resolve --- src/ui/page/show/view.jsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/ui/page/show/view.jsx b/src/ui/page/show/view.jsx index c4d51c522..0c955a3e9 100644 --- a/src/ui/page/show/view.jsx +++ b/src/ui/page/show/view.jsx @@ -13,7 +13,6 @@ type Props = { resolveUri: string => void, uri: string, claim: StreamClaim, - totalPages: number, location: UrlLocation, blackListedOutpoints: Array<{ txid: string, @@ -29,12 +28,8 @@ class ShowPage extends React.PureComponent { } componentDidUpdate() { - const { isResolvingUri, resolveUri, claim, uri, totalPages } = this.props; - if ( - !isResolvingUri && - uri && - (claim === undefined || (claim && claim.name[0] === '@' && totalPages === undefined)) - ) { + const { isResolvingUri, resolveUri, claim, uri } = this.props; + if (!isResolvingUri && uri && claim === undefined) { resolveUri(uri); } }