Skip to content

Commit 9e6193c

Browse files
committed
变量名
1 parent baa6fa7 commit 9e6193c

File tree

9 files changed

+19
-8
lines changed

9 files changed

+19
-8
lines changed
File renamed without changes.

components/TwikooCommentCounter.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ const TwikooCommentCounter = (props) => {
6666
if (props?.posts && props?.posts?.length > 0) {
6767
fetchTwikooData(props.posts)
6868
}
69-
// }, [router.events])
70-
})
69+
}, [router.events])
7170

7271
// 监控主题变化时的的评论数
7372
useEffect(() => {

components/TwikooRecentComments.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
/**
3+
* 显示最近评论 TODO
4+
* @returns {JSX.Element}
5+
* @constructor
6+
*/
7+
8+
const TwikooRecentComments = (props) => {
9+
return null
10+
}
11+
12+
export default TwikooRecentComments

themes/example/components/BlogPostCard.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import BLOG from '@/blog.config'
22
import CONFIG_EXAMPLE from '../config_example'
33
import Link from 'next/link'
4-
import TwikooCommentCount from '@/components/TwikooCommenCount'
4+
import TwikooCommentCount from '@/components/TwikooCommentCount'
55

66
const BlogPostCard = ({ post }) => {
77
const showPageCover = CONFIG_EXAMPLE.POST_LIST_COVER

themes/hexo/components/BlogPostCardInfo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import BLOG from '@/blog.config'
22
import NotionPage from '@/components/NotionPage'
33
import Link from 'next/link'
44
import TagItemMini from './TagItemMini'
5-
import TwikooCommentCount from '@/components/TwikooCommenCount'
5+
import TwikooCommentCount from '@/components/TwikooCommentCount'
66

77
/**
88
* 博客列表的文字内容

themes/matery/components/BlogPostCard.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Link from 'next/link'
33
import React from 'react'
44
import TagItemMini from './TagItemMini'
55
import CONFIG_MATERY from '../config_matery'
6-
import TwikooCommentCount from '@/components/TwikooCommenCount'
6+
import TwikooCommentCount from '@/components/TwikooCommentCount'
77
// import Image from 'next/image'
88

99
const BlogPostCard = ({ index, post, showSummary, siteInfo }) => {

themes/medium/components/BlogPostCard.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import React from 'react'
66
import CONFIG_MEDIUM from '../config_medium'
77
import CategoryItem from './CategoryItem'
88
import TagItemMini from './TagItemMini'
9-
import TwikooCommentCount from '@/components/TwikooCommenCount'
9+
import TwikooCommentCount from '@/components/TwikooCommentCount'
1010

1111
const BlogPostCard = ({ post, showSummary }) => {
1212
const showPreview = CONFIG_MEDIUM.POST_LIST_PREVIEW && post.blockMap

themes/next/components/BlogPostCard.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import TagItemMini from './TagItemMini'
88
import CONFIG_NEXT from '../config_next'
99
import NotionPage from '@/components/NotionPage'
1010
import NotionIcon from '@/components/NotionIcon'
11-
import TwikooCommentCount from '@/components/TwikooCommenCount'
11+
import TwikooCommentCount from '@/components/TwikooCommentCount'
1212

1313
const BlogPostCard = ({ post, showSummary }) => {
1414
const { locale } = useGlobal()

themes/simple/components/BlogItem.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import BLOG from '@/blog.config'
22
import Link from 'next/link'
33
import CONFIG_SIMPLE from '../config_simple'
4-
import TwikooCommentCount from '@/components/TwikooCommenCount'
4+
import TwikooCommentCount from '@/components/TwikooCommentCount'
55

66
export const BlogItem = props => {
77
const { post } = props

0 commit comments

Comments
 (0)