Revert "Fix ads near recommended on Premium"
This reverts commit f56e552764
.
Would like to consolidate logic into resolveAdVisibility, so the fix should be there instead.
This commit is contained in:
parent
8b1927b5dd
commit
bd7d2ad621
1 changed files with 2 additions and 4 deletions
|
@ -189,10 +189,8 @@ function HomePage(props: Props) {
|
||||||
label={__('View More')}
|
label={__('View More')}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{isMobileScreen && !hasPremiumPlus && <AdsBanner key={`${currentTheme}:${title}`} />}
|
{isMobileScreen && <AdsBanner key={`${currentTheme}:${title}`} />}
|
||||||
{!isMobileScreen && !hasPremiumPlus && (index === 0 || index % 2 === 0) && (
|
{!isMobileScreen && (index === 0 || index % 2 === 0) && <AdsBanner key={`${currentTheme}:${title}`} />}
|
||||||
<AdsBanner key={`${currentTheme}:${title}`} />
|
|
||||||
)}
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue