This commit is contained in:
yezian 2024-05-08 18:01:02 +08:00
commit 2228e37f3d
1 changed files with 3 additions and 3 deletions

View File

@ -20,12 +20,12 @@ const PostMachineReviewContent = (props) => {
key: "creator",
render: (data) => (
<div>
<Image src={data.avatar.images[0].urls[0]} width={50} />
<Image src={data?.avatar?.images[0]?.urls[0]} width={50} />
<p>
ID<span className="text-red-400">{data.user_id}</span>
ID<span className="text-red-400">{data?.user_id}</span>
</p>
<p>
昵称<span className="text-red-400">{data.name}</span>
昵称<span className="text-red-400">{data?.name}</span>
</p>
</div>
),