移除冲突组件,允许用npm打包

This commit is contained in:
tangly1024.com
2023-07-31 18:59:21 +08:00
parent 72dbf54e11
commit b7c84d5218
5 changed files with 18 additions and 33 deletions

View File

@@ -1,5 +1,4 @@
import { useGlobal } from '@/lib/global'
import { ReactCusdis } from 'react-cusdis'
import BLOG from '@/blog.config'
import { useRouter } from 'next/router'
import { useEffect } from 'react'
@@ -28,7 +27,7 @@ const CusdisComponent = ({ frontMatter }) => {
}
})
return <ReactCusdis
return <div
lang={locale.LOCALE.toLowerCase()}
attrs={{
host: BLOG.COMMENT_CUSDIS_HOST,