mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-29 15:10:06 +00:00
减少日志
This commit is contained in:
@@ -5,8 +5,8 @@ import { useEffect } from 'react'
|
||||
const ValineComponent = ({ path }) => {
|
||||
const loadValine = async () => {
|
||||
try {
|
||||
const url = await loadExternalResource(BLOG.COMMENT_VALINE_CDN, 'js')
|
||||
console.log('valine 加载成功', url)
|
||||
await loadExternalResource(BLOG.COMMENT_VALINE_CDN, 'js')
|
||||
// console.log('valine 加载成功', url)
|
||||
const Valine = window.Valine
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const valine = new Valine({
|
||||
@@ -21,7 +21,6 @@ const ValineComponent = ({ path }) => {
|
||||
serverURLs: BLOG.COMMENT_VALINE_SERVER_URLS,
|
||||
visitor: true
|
||||
})
|
||||
console.log('初始化valine成功')
|
||||
} catch (error) {
|
||||
console.error('twikoo 加载失败', error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user