变量名

This commit is contained in:
tangly1024
2023-05-07 19:05:32 +08:00
parent baa6fa753f
commit 9e6193c49d
9 changed files with 19 additions and 8 deletions

View File

@@ -66,8 +66,7 @@ const TwikooCommentCounter = (props) => {
if (props?.posts && props?.posts?.length > 0) {
fetchTwikooData(props.posts)
}
// }, [router.events])
})
}, [router.events])
// 监控主题变化时的的评论数
useEffect(() => {

View File

@@ -0,0 +1,12 @@
/**
* 显示最近评论 TODO
* @returns {JSX.Element}
* @constructor
*/
const TwikooRecentComments = (props) => {
return null
}
export default TwikooRecentComments

View File

@@ -1,7 +1,7 @@
import BLOG from '@/blog.config'
import CONFIG_EXAMPLE from '../config_example'
import Link from 'next/link'
import TwikooCommentCount from '@/components/TwikooCommenCount'
import TwikooCommentCount from '@/components/TwikooCommentCount'
const BlogPostCard = ({ post }) => {
const showPageCover = CONFIG_EXAMPLE.POST_LIST_COVER

View File

@@ -2,7 +2,7 @@ import BLOG from '@/blog.config'
import NotionPage from '@/components/NotionPage'
import Link from 'next/link'
import TagItemMini from './TagItemMini'
import TwikooCommentCount from '@/components/TwikooCommenCount'
import TwikooCommentCount from '@/components/TwikooCommentCount'
/**
* 博客列表的文字内容

View File

@@ -3,7 +3,7 @@ import Link from 'next/link'
import React from 'react'
import TagItemMini from './TagItemMini'
import CONFIG_MATERY from '../config_matery'
import TwikooCommentCount from '@/components/TwikooCommenCount'
import TwikooCommentCount from '@/components/TwikooCommentCount'
// import Image from 'next/image'
const BlogPostCard = ({ index, post, showSummary, siteInfo }) => {

View File

@@ -6,7 +6,7 @@ import React from 'react'
import CONFIG_MEDIUM from '../config_medium'
import CategoryItem from './CategoryItem'
import TagItemMini from './TagItemMini'
import TwikooCommentCount from '@/components/TwikooCommenCount'
import TwikooCommentCount from '@/components/TwikooCommentCount'
const BlogPostCard = ({ post, showSummary }) => {
const showPreview = CONFIG_MEDIUM.POST_LIST_PREVIEW && post.blockMap

View File

@@ -8,7 +8,7 @@ import TagItemMini from './TagItemMini'
import CONFIG_NEXT from '../config_next'
import NotionPage from '@/components/NotionPage'
import NotionIcon from '@/components/NotionIcon'
import TwikooCommentCount from '@/components/TwikooCommenCount'
import TwikooCommentCount from '@/components/TwikooCommentCount'
const BlogPostCard = ({ post, showSummary }) => {
const { locale } = useGlobal()

View File

@@ -1,7 +1,7 @@
import BLOG from '@/blog.config'
import Link from 'next/link'
import CONFIG_SIMPLE from '../config_simple'
import TwikooCommentCount from '@/components/TwikooCommenCount'
import TwikooCommentCount from '@/components/TwikooCommentCount'
export const BlogItem = props => {
const { post } = props