Skip to content

Commit

Permalink
fixed all errors shown by eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
hunxjunedo committed Feb 21, 2024
1 parent c44289f commit 3d51b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ImageGallery.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ class ImageGallery extends React.Component {

canSlideRight() {
const { infinite, isRTL } = this.props;
return infinite || isRTL ? this.canSlidePrevious() : this.canSlideNext();
return infinite || isRTL ? this.canSlidePrevious() : this.canSlideNext();
}

canSlidePrevious() {
Expand Down

0 comments on commit 3d51b44

Please sign in to comment.