From 573ed1e88c84262cfa6ec5528806d09494ccc1de Mon Sep 17 00:00:00 2001 From: zeppi Date: Wed, 21 Jul 2021 16:42:15 -0400 Subject: [PATCH] recon followDisc --- ui/page/channelsFollowingDiscover/view.jsx | 59 ++++++++++------------ 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/ui/page/channelsFollowingDiscover/view.jsx b/ui/page/channelsFollowingDiscover/view.jsx index 17865f54c..bf4b88fe5 100644 --- a/ui/page/channelsFollowingDiscover/view.jsx +++ b/ui/page/channelsFollowingDiscover/view.jsx @@ -8,7 +8,7 @@ import ClaimTilesDiscover from 'component/claimTilesDiscover'; import ClaimListDiscover from 'component/claimListDiscover'; import * as CS from 'constants/claim_search'; import { toCapitalCase } from 'util/string'; -import { CUSTOM_HOMEPAGE } from 'config'; +import { CUSTOM_HOMEPAGE, SIMPLE_SITE } from 'config'; const MORE_CHANNELS_ANCHOR = 'MoreChannels'; @@ -49,16 +49,6 @@ function ChannelsFollowingDiscover(props: Props) { }, }); - rowData.push({ - title: 'Latest From @lbrycast', - link: `/@lbrycast:4`, - options: { - orderBy: ['release_time'], - pageSize: 8, - channelIds: ['4c29f8b013adea4d5cca1861fb2161d5089613ea'], - }, - }); - rowData.push({ title: 'Trending Channels', link: `/$/${PAGES.DISCOVER}?claim_type=channel`, @@ -105,29 +95,32 @@ function ChannelsFollowingDiscover(props: Props) { return ( - {rowDataWithGenericOptions.map(({ title, link, help, options = {} }) => ( -
-

- {link ? ( -

+ {!SIMPLE_SITE && + rowDataWithGenericOptions.map(({ title, link, help, options = {} }) => ( +
+

+ {link ? ( +

- -
- ))} -

- {__('More Channels')} -

+ +
+ ))} + {!SIMPLE_SITE && ( +

+ {__('More Channels')} +

+ )}