From de047621c9d65693eca43872c00ebc2d77a558fc Mon Sep 17 00:00:00 2001 From: Misode Date: Sun, 16 Oct 2022 22:05:33 +0200 Subject: [PATCH] Minecraft live is over --- src/app/components/Ad.tsx | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/src/app/components/Ad.tsx b/src/app/components/Ad.tsx index d21e09f1..553079c3 100644 --- a/src/app/components/Ad.tsx +++ b/src/app/components/Ad.tsx @@ -7,24 +7,6 @@ type AdProps = { id: string, } export function Ad({ type, id }: AdProps) { - if (type === 'text') { - return
- -
- } - useEffect(() => { document.getElementById('ad-placeholder')?.remove() if ('ethicalads' in window) { @@ -32,5 +14,5 @@ export function Ad({ type, id }: AdProps) { } }, []) - return
+ return
}