From 39cb1cef559c0e00d08d3541e1bd464989822245 Mon Sep 17 00:00:00 2001 From: jessop Date: Thu, 6 Feb 2020 13:27:48 -0500 Subject: [PATCH] show page will not flash abandoned on load --- static/app-strings.json | 3 ++- ui/page/show/view.jsx | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index 43abc3d64..48cd68a67 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -923,5 +923,6 @@ "refreshing the app": "refreshing the app", "Follower": "Follower", "%repost_channel_link% reposted": "%repost_channel_link% reposted", - "This channel may have been unpublished.": "This channel may have been unpublished." + "This channel may have been unpublished.": "This channel may have been unpublished.", + "There was an error. Try %refreshing_the_app_link% to fix it. If that doesn't work, try pressing Ctrl+R/Cmd+R.": "There was an error. Try %refreshing_the_app_link% to fix it. If that doesn't work, try pressing Ctrl+R/Cmd+R." } \ No newline at end of file diff --git a/ui/page/show/view.jsx b/ui/page/show/view.jsx index 11c63e18f..21b8086fb 100644 --- a/ui/page/show/view.jsx +++ b/ui/page/show/view.jsx @@ -84,11 +84,11 @@ function ShowPage(props: Props) { } innerContent = ( - {isResolvingUri && } + {(claim === undefined || isResolvingUri) && } {!isResolvingUri && !isSubscribed && ( {__("There's nothing available at this location.")} )} - {!isResolvingUri && isSubscribed && } + {!isResolvingUri && isSubscribed && claim === null && } ); } else if (claim.name.length && claim.name[0] === '@') {