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 ( <Page> - {rowDataWithGenericOptions.map(({ title, link, help, options = {} }) => ( - <div key={title} className="claim-grid__wrapper"> - <h1 className="section__actions"> - {link ? ( - <Button - className="claim-grid__title" - button="link" - navigate={link} - iconRight={ICONS.ARROW_RIGHT} - label={__(title)} - /> - ) : ( - <span className="claim-grid__title">{__(title)}</span> - )} - {help} - </h1> + {!SIMPLE_SITE && + rowDataWithGenericOptions.map(({ title, link, help, options = {} }) => ( + <div key={title} className="claim-grid__wrapper"> + <h1 className="section__actions"> + {link ? ( + <Button + className="claim-grid__title" + button="link" + navigate={link} + iconRight={ICONS.ARROW_RIGHT} + label={__(title)} + /> + ) : ( + <span className="claim-grid__title">{__(title)}</span> + )} + {help} + </h1> - <ClaimTilesDiscover {...options} /> - </div> - ))} - <h1 id={MORE_CHANNELS_ANCHOR} className="claim-grid__title"> - {__('More Channels')} - </h1> + <ClaimTilesDiscover {...options} /> + </div> + ))} + {!SIMPLE_SITE && ( + <h1 id={MORE_CHANNELS_ANCHOR} className="claim-grid__title"> + {__('More Channels')} + </h1> + )} <ClaimListDiscover defaultOrderBy={CS.ORDER_BY_TRENDING} defaultFreshness={CS.FRESH_ALL}