diff --git a/src/addImage.tsx b/src/addImage.tsx index a5fb670..48fb1b0 100644 --- a/src/addImage.tsx +++ b/src/addImage.tsx @@ -46,7 +46,8 @@ export function AddImage({ event.stopPropagation(); }} > -

Add Images

+

Add Images

+
- )} + {showAddImage && ( {chat.content.map((mdt, index) => (
-
+
{mdt.type === "text" ? ( ) : ( - <> +
{ window.open(mdt.image_url?.url, "_blank"); }} /> { if (typeof chat.content === "string") return; const obj = chat.content[index].image_url; @@ -111,7 +111,7 @@ export function EditMessageDetail({ checked={mdt.image_url?.detail === "high"} /> - +
)}