Replace ImageAttachmentStrip with AttachmentStrip in App.jsx
This commit is contained in:
@@ -3178,7 +3178,7 @@ async function createNewChat() {
|
|||||||
<div className="user-message-wrapper">
|
<div className="user-message-wrapper">
|
||||||
{isEditingThis ? (
|
{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="msg-content msg-content--user editing">
|
||||||
<div className="user-edit-shadow" aria-hidden="true">
|
<div className="user-edit-shadow" aria-hidden="true">
|
||||||
{editText}
|
{editText}
|
||||||
@@ -3211,7 +3211,7 @@ async function createNewChat() {
|
|||||||
|
|
||||||
return (
|
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 && <div className="msg-content msg-content--user">{displayText}</div>}
|
||||||
{hasText && needsCollapse && (
|
{hasText && needsCollapse && (
|
||||||
<button
|
<button
|
||||||
@@ -3266,7 +3266,7 @@ async function createNewChat() {
|
|||||||
onChange={handleComposerImageSelection}
|
onChange={handleComposerImageSelection}
|
||||||
tabIndex={-1}
|
tabIndex={-1}
|
||||||
/>
|
/>
|
||||||
<ImageAttachmentStrip
|
<AttachmentStrip
|
||||||
attachments={composerAttachments}
|
attachments={composerAttachments}
|
||||||
className="composer-attachment-strip"
|
className="composer-attachment-strip"
|
||||||
removable
|
removable
|
||||||
|
|||||||
Reference in New Issue
Block a user