From c615284d87fe3f9420447626f9e031f9c5cfcdaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sun, 21 Apr 2024 10:37:44 -0500 Subject: [PATCH] feat: re-enable adsense --- src/components/Ads/Horizontal.tsx | 22 +++++++++++----------- src/components/Party3.tsx | 8 ++++---- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/Ads/Horizontal.tsx b/src/components/Ads/Horizontal.tsx index 2df83eded..0f8731ff9 100644 --- a/src/components/Ads/Horizontal.tsx +++ b/src/components/Ads/Horizontal.tsx @@ -1,14 +1,14 @@ -import { useEffect } from 'react'; - export function AdHorizontal() { - useEffect(() => { - (window as any).msAdsQueue.push(() => { - (window as any).pubCenterSdk.render({ - adUnitId: '635230699', - elementId: 'ms-ad-635230699', - }); - }); - }); + // useEffect(() => { + // (window as any).msAdsQueue.push(() => { + // (window as any).pubCenterSdk.render({ + // adUnitId: '635230699', + // elementId: 'ms-ad-635230699', + // }); + // }); + // }); - return
; + // return
; + + return null; } diff --git a/src/components/Party3.tsx b/src/components/Party3.tsx index 0d5da953c..53d54ff75 100644 --- a/src/components/Party3.tsx +++ b/src/components/Party3.tsx @@ -25,18 +25,18 @@ export function Party3() { /> {/* adsense */} - {/*