diff --git a/components/comments/commento/ReactCommento.tsx b/components/comments/commento/ReactCommento.tsx index 227bcf0..79564b8 100644 --- a/components/comments/commento/ReactCommento.tsx +++ b/components/comments/commento/ReactCommento.tsx @@ -15,7 +15,6 @@ const insertScript = ( script.async = true script.src = src script.id = id - console.log(document.getElementById(id)) if (document.getElementById(id)) { return } @@ -52,7 +51,6 @@ const ReactCommento = ({ }) => { const containerId = useMemo(() => `commento-${Math.random().toString().slice(2, 8)}`, []) const container = createRef() - const initializing = useRef(false) useLayoutEffect(() => { if (!window) { diff --git a/package-lock.json b/package-lock.json index f6298e5..1a4d325 100644 Binary files a/package-lock.json and b/package-lock.json differ diff --git a/package.json b/package.json index 98bef6d..3bfa57e 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "dependencies": { "@fontsource/inter": "4.5.13", "@mailchimp/mailchimp_marketing": "^3.0.78", + "@next/bundle-analyzer": "12.3.1", "@tailwindcss/forms": "^0.5.3", "@tailwindcss/typography": "^0.5.7", "autoprefixer": "^10.4.12", @@ -46,7 +47,6 @@ "unist-util-visit": "^4.1.1" }, "devDependencies": { - "@next/bundle-analyzer": "12.3.1", "@svgr/webpack": "^6.4.0", "@types/react": "^18.0.21", "@types/tailwindcss": "^3.0.11",