From 64e98fb54c30342b90d4f8b0b9709fff77a24944 Mon Sep 17 00:00:00 2001 From: zeppi Date: Tue, 17 Aug 2021 16:00:28 -0400 Subject: [PATCH] fix --- static/app-strings.json | 1 - ui/page/settings/view.jsx | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index 924511e61..50c43d265 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -2090,7 +2090,6 @@ "Expand Comments": "Expand Comments", "Expand": "Expand", "Load More": "Load More", - "You followed @Danheim!": "You followed @Danheim!", "Collection": "Collection", "%channelName% isn't live right now, but the chat is! Check back later to watch the stream.": "%channelName% isn't live right now, but the chat is! Check back later to watch the stream.", "Show this channel your appreciation by sending a donation of Credits. ": "Show this channel your appreciation by sending a donation of Credits. ", diff --git a/ui/page/settings/view.jsx b/ui/page/settings/view.jsx index 3f201373a..60d29d385 100644 --- a/ui/page/settings/view.jsx +++ b/ui/page/settings/view.jsx @@ -20,6 +20,7 @@ import { SIMPLE_SITE } from 'config'; import homepages from 'homepages'; import { Lbryio } from 'lbryinc'; import Yrbl from 'component/yrbl'; +import { getStripeEnvironment } from 'util/stripe'; type Price = { currency: string, @@ -451,7 +452,7 @@ class SettingsPage extends React.PureComponent { {/* @endif */} {/* @if TARGET='web' */} - {user && ( + {user && getStripeEnvironment() && ( { {/* @endif */} {/* @if TARGET='web' */} - {isAuthenticated && ( + {isAuthenticated && getStripeEnvironment() && (