feat: exempt

This commit is contained in:
TrèsAbhi committed 2024-06-25 20:01:51 -05:00
1 parent 7cc086b999
commit 8b082ed31f
2 files changed
+11 -4

No files matched your search

+4 -1
View File
@@ -2,13 +2,16 @@
import { AdMidSectionResponsive } from '../../../components/AdMidSectionResponsive';
import PageWrapper from '../../../components/PageWrapper';
import { useAdExempt } from '../../../hooks/useAdExempt';
import { TankSearch } from './components/TankSearch';
export default function Page() {
const exempt = useAdExempt();
return (
<PageWrapper color="purple" size={1028}>
<TankSearch />
<AdMidSectionResponsive />
{!exempt && <AdMidSectionResponsive />}
</PageWrapper>
);
}