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: Carlos Martins <luacmartins@gmail.com>
  • Loading branch information
JediWattson and luacmartins authored Jan 16, 2023
1 parent cb4ed59 commit aef4993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AttachmentCarousel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class AttachmentCarousel extends React.Component {
Config.EXPENSIFY.URL_API_ROOT,
);

// Determing attachment index by matching source url with one that's used in state or props
// Determine attachment index by matching source url with one that's used in state or props
if ((this.state.sourceURL && sourceURL.includes(this.state.sourceURL))
|| (!this.state.sourceURL && sourceURL.includes(propsSourceURL))) {
page = attachments.length;
Expand Down

0 comments on commit aef4993

Please sign in to comment.