feat: omit ads in compact mode

This commit is contained in:
TrèsAbhi committed 2024-07-09 19:54:23 -05:00
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} />
{!exempt &&
!compact &&
(index + 16) % 32 === 0 &&
index !== tanks.length - 1 && (
<AdMidSectionResponsive gridColumn="1 / -1" />