diff --git a/src/app/components/Ad.tsx b/src/app/components/Ad.tsx index 553079c3..d21e09f1 100644 --- a/src/app/components/Ad.tsx +++ b/src/app/components/Ad.tsx @@ -7,6 +7,24 @@ type AdProps = { id: string, } export function Ad({ type, id }: AdProps) { + if (type === 'text') { + return
+ } + useEffect(() => { document.getElementById('ad-placeholder')?.remove() if ('ethicalads' in window) { @@ -14,5 +32,5 @@ export function Ad({ type, id }: AdProps) { } }, []) - return + return }