feat: add placeholder for image
This commit is contained in:
parent
2c7a56dd33
commit
9d889434c4
|
|
@ -246,13 +246,15 @@ function ToolCall({
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
|
<div className="bg-accent size-24">
|
||||||
<img
|
<img
|
||||||
className="size-24 object-cover"
|
className="size-full object-cover"
|
||||||
src={item.thumbnail_url}
|
src={item.thumbnail_url}
|
||||||
alt={item.title}
|
alt={item.title}
|
||||||
width={100}
|
width={100}
|
||||||
height={100}
|
height={100}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
))}
|
))}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue