fix/ build

This commit is contained in:
tangly1024.com
2023-06-07 15:47:31 +08:00
parent d98d1f4c4b
commit 93fd5b8fe3
17 changed files with 17 additions and 17 deletions

View File

@@ -16,7 +16,7 @@ const RecommendPosts = ({ recommendPosts }) => {
<div className="pt-2 border pl-4 py-2 my-4 dark:text-gray-300 ">
<div className="mb-2 font-bold text-lg">{locale.COMMON.RELATE_POSTS} :</div>
<ul className="font-light text-sm">
{recommendPosts.map(post => (
{recommendposts?.map(post => (
<li className="py-1" key={post.id}>
<Link href={`/${post.slug}`} className="cursor-pointer hover:underline">