fix bug
This commit is contained in:
parent
b2143572d5
commit
c4e5b1cd0f
|
@ -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>
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue