mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-22 23:16:48 +00:00
移除冲突组件,允许用npm打包
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user