mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-04 15:10:23 +00:00
fix post?.
This commit is contained in:
@@ -174,7 +174,7 @@ const LayoutSlug = props => {
|
||||
</div>
|
||||
</div>
|
||||
{/* 上一篇下一篇文章 */}
|
||||
{post.type === 'Post' && <ArticleAround prev={prev} next={next} />}
|
||||
{post?.type === 'Post' && <ArticleAround prev={prev} next={next} />}
|
||||
{/* 评论区 */}
|
||||
<Comment frontMatter={post} />
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user