diff --git a/components/CategoryGroup.js b/components/CategoryGroup.js index 0c598f31..56323fc8 100644 --- a/components/CategoryGroup.js +++ b/components/CategoryGroup.js @@ -5,7 +5,7 @@ import React from 'react' const CategoryGroup = ({ currentCategory, categories }) => { return
-
+
{Object.keys(categories).map(category => { const selected = currentCategory === category return diff --git a/components/Comment.js b/components/Comment.js index cf31b7b2..d41d7de4 100644 --- a/components/Comment.js +++ b/components/Comment.js @@ -27,7 +27,6 @@ const Comment = ({ frontMatter }) => { const { theme } = useGlobal() return
- {/* 评论插件 */} {BLOG.comment.provider === 'gitalk' && (
{
)} - {BLOG.comment.provider === 'cusdis' && ( + {BLOG.comment.provider === 'cusdis' && (<> +