Skip to content

Commit

Permalink
Update src/components/ImageView/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 Dec 13, 2022
1 parent f148909 commit e042066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ImageView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class ImageView extends PureComponent {
}

componentDidUpdate() {
// resize the image when cycled through
// Resize the image when cycled through
Image.getSize(this.props.url, (width, height) => {
this.setImageRegion(width, height);
});
Expand Down

0 comments on commit e042066

Please sign in to comment.