Skip to content

Commit

Permalink
Update src/components/ImageGallery.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolin authored Feb 27, 2024
1 parent a1c61d1 commit 78226da
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 @@ -764,7 +764,7 @@ class ImageGallery extends React.Component {

canSlideLeft() {
const { infinite, isRTL } = this.props;
//reverse the logic if the slider has isRTL enabled
// reverse the logic if the slider has isRTL enabled
return infinite || (isRTL ? this.canSlideNext() : this.canSlidePrevious());
}

Expand Down

0 comments on commit 78226da

Please sign in to comment.