diff --git a/src/components/prompt-input.tsx b/src/components/prompt-input.tsx index 240efbc5..e68ce934 100644 --- a/src/components/prompt-input.tsx +++ b/src/components/prompt-input.tsx @@ -638,12 +638,12 @@ export default function PromptInput(props: PromptInputProps) {
0}> -
+
{(attachment) => { const isImage = attachment.mediaType.startsWith("image/") return ( -
+
{attachment.source.type === "text" ? attachment.display : attachment.filename}