Replace ImageAttachmentStrip with AttachmentStrip in App.jsx

This commit is contained in:
2026-04-17 13:03:27 +02:00
parent f34aa9b150
commit ab2424dbd8

View File

@@ -3178,7 +3178,7 @@ async function createNewChat() {
<div className="user-message-wrapper">
{isEditingThis ? (
<>
<ImageAttachmentStrip attachments={m.attachments} className="message-attachment-strip" />
<AttachmentStrip attachments={m.attachments} className="message-attachment-strip" />
<div className="msg-content msg-content--user editing">
<div className="user-edit-shadow" aria-hidden="true">
{editText}
@@ -3211,7 +3211,7 @@ async function createNewChat() {
return (
<>
<ImageAttachmentStrip attachments={attachments} className="message-attachment-strip" />
<AttachmentStrip attachments={attachments} className="message-attachment-strip" />
{hasText && <div className="msg-content msg-content--user">{displayText}</div>}
{hasText && needsCollapse && (
<button
@@ -3266,7 +3266,7 @@ async function createNewChat() {
onChange={handleComposerImageSelection}
tabIndex={-1}
/>
<ImageAttachmentStrip
<AttachmentStrip
attachments={composerAttachments}
className="composer-attachment-strip"
removable