Skip to content

Commit

Permalink
Update src/components/AttachmentCarousel/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Santhoshkumar Sellavel <85645967+Santhosh-Sellavel@users.noreply.github.com>
  • Loading branch information
JediWattson and Santhosh-Sellavel authored Jan 16, 2023
1 parent 31e389b commit e7ad0d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/AttachmentCarousel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ class AttachmentCarousel extends React.Component {
);

/**
* Calling reducer will filter out attachments,
* determine the index of opened attachment,
* and retrieve the src url and name of attachements
* Looping to filter out attachments and retrieve the src URL and name of attachments.
*/
const attachments = [];
_.forEach(actions, ({originalMessage}) => {
Expand Down

0 comments on commit e7ad0d3

Please sign in to comment.