Fix ads near recommended on Premium
This commit is contained in:
parent
4d7f1c1d42
commit
f56e552764
1 changed files with 4 additions and 2 deletions
|
@ -186,8 +186,10 @@ function HomePage(props: Props) {
|
|||
label={__('View More')}
|
||||
/>
|
||||
)}
|
||||
{isMobileScreen && <AdsBanner key={`${currentTheme}:${title}`} />}
|
||||
{!isMobileScreen && (index === 0 || index % 2 === 0) && <AdsBanner key={`${currentTheme}:${title}`} />}
|
||||
{isMobileScreen && !hasPremiumPlus && <AdsBanner key={`${currentTheme}:${title}`} />}
|
||||
{!isMobileScreen && !hasPremiumPlus && (index === 0 || index % 2 === 0) && (
|
||||
<AdsBanner key={`${currentTheme}:${title}`} />
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue