From ae980bc14239443c1c3b0b2ac70cc6202d4b9332 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 12 Apr 2021 12:04:18 -0400 Subject: [PATCH] use isChannel from parseURI --- ui/page/show/view.jsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ui/page/show/view.jsx b/ui/page/show/view.jsx index 3733e37e4..ca8b5b890 100644 --- a/ui/page/show/view.jsx +++ b/ui/page/show/view.jsx @@ -53,9 +53,8 @@ function ShowPage(props: Props) { const claimExists = claim !== null && claim !== undefined; const haventFetchedYet = claim === undefined; const isMine = claim && claim.is_my_output; - const { channelName, contentName } = parseURI(uri); + const { contentName, isChannel } = parseURI(uri); const { push } = useHistory(); - const isContentNameChannel = channelName && !contentName; useEffect(() => { // @if TARGET='web' @@ -98,9 +97,9 @@ function ShowPage(props: Props) { {!isResolvingUri && !isSubscribed && (