diff --git a/src/components/AttachmentCarousel/index.js b/src/components/AttachmentCarousel/index.js index 560995ec298..ec7a980c25c 100644 --- a/src/components/AttachmentCarousel/index.js +++ b/src/components/AttachmentCarousel/index.js @@ -112,7 +112,9 @@ class AttachmentCarousel extends React.Component { */ const attachments = []; _.forEach(actions, ({originalMessage}) => { - if (!originalMessage || !originalMessage.html) { return; } + if (!originalMessage || !originalMessage.html) { + return; + } const matches = [...originalMessage.html.matchAll(CONST.REGEX.ATTACHMENT_DATA)]; // matchAll captured both source url and name of the attachment