mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-18 15:09:34 +00:00
修复日期为空时编译错误的bug
This commit is contained in:
@@ -48,7 +48,7 @@ const BlogPostCard = ({ post, showSummary }) => {
|
||||
passHref
|
||||
>
|
||||
<a className="font-light hover:underline cursor-pointer text-sm leading-4 mr-3">
|
||||
{post.date.start_date}
|
||||
{post.date?.start_date}
|
||||
</a>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user