From 1aaaf118c5c3f73d8abbbbd5905fc3d14ca3b158 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Fri, 19 Mar 2021 18:34:42 -0400 Subject: [PATCH] remove signup nudge in sidebar for lbry.tv --- ui/component/sideNavigation/view.jsx | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/ui/component/sideNavigation/view.jsx b/ui/component/sideNavigation/view.jsx index cd9993448..8e9e5b5ab 100644 --- a/ui/component/sideNavigation/view.jsx +++ b/ui/component/sideNavigation/view.jsx @@ -8,7 +8,7 @@ import classnames from 'classnames'; import Icon from 'component/common/icon'; import NotificationBubble from 'component/notificationBubble'; import I18nMessage from 'component/i18nMessage'; -import { PINNED_LABEL_1, PINNED_URI_1, PINNED_URI_2, PINNED_LABEL_2, SIMPLE_SITE } from 'config'; +import { PINNED_LABEL_1, PINNED_URI_1, PINNED_URI_2, PINNED_LABEL_2, SIMPLE_SITE, DOMAIN } from 'config'; // @if TARGET='app' import { IS_MAC } from 'component/app/view'; // @endif @@ -271,16 +271,17 @@ function SideNavigation(props: Props) { return () => window.removeEventListener('keydown', handleKeydown); }, [sidebarOpen, setSidebarOpen, isAbsolute]); - const unAuthNudge = ( -
- - }}> - Sign up to earn %lbc% for you and your favorite creators. - - -
- ); + const unAuthNudge = + DOMAIN === 'lbry.tv' ? null : ( +
+ + }}> + Sign up to earn %lbc% for you and your favorite creators. + + +
+ ); const helpLinks = (