diff --git a/quartz/components/_Ads.tsx b/quartz/components/_Ads.tsx index a0bafee45..66a023c27 100644 --- a/quartz/components/_Ads.tsx +++ b/quartz/components/_Ads.tsx @@ -1,19 +1,22 @@ import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types" // @ts-ignore import { classNames } from "../util/lang" +import { useEffect } from "react" const Ads: QuartzComponent = ({ displayClass, fileData }: QuartzComponentProps) => { - return ( - -
- + }, []) + + return ( +