From 7990a379fce1f41de1fa05ee193d1bf54bcce33c Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 2 Jan 2020 16:26:43 -0500 Subject: [PATCH] fix view for unauthed users --- ui/component/router/view.jsx | 7 ++++++- ui/page/channelsFollowing/view.jsx | 2 +- ui/page/following/view.jsx | 24 +++++++++++------------- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/ui/component/router/view.jsx b/ui/component/router/view.jsx index c6944c625..77e09cbe0 100644 --- a/ui/component/router/view.jsx +++ b/ui/component/router/view.jsx @@ -65,6 +65,7 @@ function AppRouter(props: Props) { const { currentScroll, location: { pathname }, + isAuthenticated, } = props; useEffect(() => { @@ -78,7 +79,11 @@ function AppRouter(props: Props) { - + diff --git a/ui/page/channelsFollowing/view.jsx b/ui/page/channelsFollowing/view.jsx index b1c15624b..5c6cc36a7 100644 --- a/ui/page/channelsFollowing/view.jsx +++ b/ui/page/channelsFollowing/view.jsx @@ -32,7 +32,7 @@ function ChannelsFollowing(props: Props) { {showTab ? ( -
- onClick()} - /> - } - uris={viewingSuggestedSubs ? suggestedSubscriptions.map(sub => `lbry://${sub.uri}`) : channelUris} - /> -
+ onClick()} + /> + } + uris={viewingSuggestedSubs ? suggestedSubscriptions.map(sub => `lbry://${sub.uri}`) : channelUris} + />
); }