updated Ads
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Struchkov Mark 2024-09-05 23:42:38 +03:00
parent 691755ac0b
commit 3a4307e24d
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C

View File

@ -1,4 +1,4 @@
import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types" import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types";
const YandexMetrika: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => { const YandexMetrika: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => {
const embedScript = ` const embedScript = `
@ -13,7 +13,7 @@ const YandexMetrika: QuartzComponent = ({ displayClass, cfg }: QuartzComponentPr
trackLinks: true, trackLinks: true,
accurateTrackBounce: true accurateTrackBounce: true
}); });
` `;
return ( return (
<> <>
@ -28,7 +28,7 @@ const YandexMetrika: QuartzComponent = ({ displayClass, cfg }: QuartzComponentPr
</div> </div>
</noscript> </noscript>
</> </>
) );
} };
export default (() => YandexMetrika) satisfies QuartzComponentConstructor export default (() => YandexMetrika) satisfies QuartzComponentConstructor;