Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ type AttachmentsProps = {
id?: string | undefined;
};

const Attachments = ({ attachments, collapsed, id }: AttachmentsProps): ReactElement => {
const Attachments = ({ attachments, id }: AttachmentsProps): ReactElement => {
return (
<>
{attachments?.map((attachment, index) => (
<AttachmentsItem key={index} id={id} attachment={{ ...attachment, collapsed }} />
<AttachmentsItem key={index} id={id} attachment={{ ...attachment }} />
))}
</>
);
Expand Down