mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: omit ads in compact mode
This commit is contained in:
1 parent
8b70aa12e4
commit
5aa4b262f8
1 file changed
+1
@@ -440,6 +440,7 @@ export const TankSearch = memo<TankSearchProps>(
|
|||||||
<>
|
<>
|
||||||
<TankCard onSelect={onSelect} key={tank.id} tank={tank} />
|
<TankCard onSelect={onSelect} key={tank.id} tank={tank} />
|
||||||
{!exempt &&
|
{!exempt &&
|
||||||
|
!compact &&
|
||||||
(index + 16) % 32 === 0 &&
|
(index + 16) % 32 === 0 &&
|
||||||
index !== tanks.length - 1 && (
|
index !== tanks.length - 1 && (
|
||||||
<AdMidSectionResponsive gridColumn="1 / -1" />
|
<AdMidSectionResponsive gridColumn="1 / -1" />
|
||||||
|
|||||||
Reference in new issue
Block a user