reconcile more

This commit is contained in:
zeppi 2020-11-10 12:47:31 -05:00 committed by Sean Yesmunt
parent 47f45fce0c
commit ad7a0c9cac
2 changed files with 5 additions and 7 deletions

View file

@ -122,10 +122,10 @@ function ChannelsFollowingDiscover(props: Props) {
<h1 className="claim-grid__title">{__('More Channels')}</h1>
{/* odysee: claimIds = PRIMARY_CONTENT_CHANNEL_IDS if simplesite CLD */}
<ClaimListDiscover
defaultOrderBy={CS.ORDER_BY_TOP}
channelIds={SIMPLE_SITE ? PRIMARY_CONTENT_CHANNEL_IDS : undefined}
defaultOrderBy={CS.ORDER_BY_TRENDING}
defaultFreshness={CS.FRESH_ALL}
claimType="channel"
claimType={CS.CLAIM_CHANNEL}
channelIds={SIMPLE_SITE ? PRIMARY_CONTENT_CHANNEL_IDS : undefined}
/>
</Page>
);

View file

@ -1,8 +1,7 @@
// @flow
// import type { RowDataItem } from 'homepages';
import * as ICONS from 'constants/icons';
import * as PAGES from 'constants/pages';
import { SITE_NAME } from 'config';
import { SITE_NAME, SIMPLE_SITE } from 'config';
import classnames from 'classnames';
import React from 'react';
import Page from 'component/page';
@ -37,8 +36,7 @@ function HomePage(props: Props) {
return (
<Page fullWidthPage>
{/* MAYBE NOT SIMPLESITE */}
{(authenticated || !IS_WEB) && !subscribedChannels.length && (
{!SIMPLE_SITE && (authenticated || !IS_WEB) && !subscribedChannels.length && (
<div className="notice-message">
<h1 className="section__title">
{__("%SITE_NAME% is more fun if you're following channels", { SITE_NAME })}