This commit is contained in:
parent
4738a03fb9
commit
85fa2ae57f
@ -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<HTMLDivElement>()
|
||||
const initializing = useRef(false)
|
||||
|
||||
useLayoutEffect(() => {
|
||||
if (!window) {
|
||||
|
BIN
package-lock.json
generated
BIN
package-lock.json
generated
Binary file not shown.
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user