diff --git a/src/components/common/messaging/attachments/MessageReply.tsx b/src/components/common/messaging/attachments/MessageReply.tsx index 14681495..88580bde 100644 --- a/src/components/common/messaging/attachments/MessageReply.tsx +++ b/src/components/common/messaging/attachments/MessageReply.tsx @@ -187,20 +187,15 @@ export const MessageReply = observer(({ index, channel, id }: Props) => { ); } }}> - {message.attachments && - message.attachments.length > 0 && ( - <> - - - {message.attachments.length > - 0 ? ( - - ) : ( - - )} - - - )} + {message.attachments && ( + <> + + {message.attachments.length > 1 ? + : + } + + + )} {
- {message.attachments && - message.attachments.length > 0 && ( - <> - - - {message.attachments!.length > - 1 ? ( - - ) : ( - - )} - - - )} - {message.author_id === SYSTEM_USER_ID ? ( - - ) : ( - - )} + {message.attachments && ( + <> + + {message.attachments.length > 1 ? + : + } + + + )} + {message.author_id === SYSTEM_USER_ID ? ( + + ) : ( + + )}