diff --git a/src/apps/chat/components/message/fragments-attachment-doc/DocAttachmentFragment.tsx b/src/apps/chat/components/message/fragments-attachment-doc/DocAttachmentFragment.tsx index d5340bb22..b571a79eb 100644 --- a/src/apps/chat/components/message/fragments-attachment-doc/DocAttachmentFragment.tsx +++ b/src/apps/chat/components/message/fragments-attachment-doc/DocAttachmentFragment.tsx @@ -291,18 +291,25 @@ export function DocAttachmentFragment(props: { {/* Delete / Confirm */} {!!onFragmentDelete && ( - + {!isEditing && } {isDeleteArmed && ( - )} @@ -311,17 +318,26 @@ export function DocAttachmentFragment(props: { {/* Edit / Save */} {!!onFragmentReplace && ( - - {isEditing && ( - )}