diff --git a/quartz/components/_YandexMetrika.tsx b/quartz/components/_YandexMetrika.tsx index cf41b0084..59d88e360 100644 --- a/quartz/components/_YandexMetrika.tsx +++ b/quartz/components/_YandexMetrika.tsx @@ -1,4 +1,4 @@ -import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types" +import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types"; const YandexMetrika: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => { const embedScript = ` @@ -13,7 +13,7 @@ const YandexMetrika: QuartzComponent = ({ displayClass, cfg }: QuartzComponentPr trackLinks: true, accurateTrackBounce: true }); - ` + `; return ( <> @@ -28,7 +28,7 @@ const YandexMetrika: QuartzComponent = ({ displayClass, cfg }: QuartzComponentPr - ) -} + ); +}; -export default (() => YandexMetrika) satisfies QuartzComponentConstructor +export default (() => YandexMetrika) satisfies QuartzComponentConstructor; \ No newline at end of file