From 4071af4b824a94185df24afcca677dedab96b678 Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Fri, 25 Nov 2022 10:25:06 +0300 Subject: [PATCH] lint --- src/components/Article/FullArticle.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Article/FullArticle.tsx b/src/components/Article/FullArticle.tsx index ffa43924..d71cb3f6 100644 --- a/src/components/Article/FullArticle.tsx +++ b/src/components/Article/FullArticle.tsx @@ -55,8 +55,8 @@ export const FullArticle = (props: ArticleProps) => { const script = document.createElement('script') script.async = true script.src = 'https://ackee.discours.io/increment.js' - script.setAttribute('data-ackee-server', 'https://ackee.discours.io') - script.setAttribute('data-ackee-domain-id', '1004abeb-89b2-4e85-ad97-74f8d2c8ed2d') + script.dataset.ackeeServer = 'https://ackee.discours.io' + script.dataset.ackeeDomainId = '1004abeb-89b2-4e85-ad97-74f8d2c8ed2d' document.body.appendChild(script) const windowHash = window.location.hash if (windowHash?.length > 0) {