remove google sidebar ads

This commit is contained in:
zeppi 2021-06-22 12:33:18 -04:00 committed by jessopb
parent 0532e759d4
commit 1b528ea856

View file

@ -1,5 +1,5 @@
// @flow // @flow
import { SHOW_ADS, SIMPLE_SITE } from 'config'; import { SHOW_ADS } from 'config';
import React from 'react'; import React from 'react';
import ClaimList from 'component/claimList'; import ClaimList from 'component/claimList';
import ClaimListDiscover from 'component/claimListDiscover'; import ClaimListDiscover from 'component/claimListDiscover';
@ -95,17 +95,7 @@ export default function RecommendedContent(props: Props) {
loading={isSearching} loading={isSearching}
uris={reorderList(recommendedContent)} uris={reorderList(recommendedContent)}
hideMenu={isMobile} hideMenu={isMobile}
injectedItem={ injectedItem={SHOW_ADS && IS_WEB && !isAuthenticated && <Ads small type={'video'} />}
SHOW_ADS && IS_WEB ? (
SIMPLE_SITE ? (
<Ads small type={'google'} uri={uri} />
) : (
!isAuthenticated && <Ads small type={'video'} />
)
) : (
false
)
}
empty={__('No related content found')} empty={__('No related content found')}
/> />
)} )}
@ -123,17 +113,7 @@ export default function RecommendedContent(props: Props) {
channelIds={[signingChannel.claim_id]} channelIds={[signingChannel.claim_id]}
loading={isSearching} loading={isSearching}
hideMenu={isMobile} hideMenu={isMobile}
injectedItem={ injectedItem={SHOW_ADS && IS_WEB && !isAuthenticated && <Ads small type={'video'} />}
SHOW_ADS && IS_WEB ? (
SIMPLE_SITE ? (
<Ads small type={'google'} uri={uri} />
) : (
!isAuthenticated && <Ads small type={'video'} />
)
) : (
false
)
}
empty={__('No related content found')} empty={__('No related content found')}
/> />
)} )}