From 3d51b44104eea35270d635ee32f7e6c4645809e1 Mon Sep 17 00:00:00 2001 From: hunx Date: Wed, 21 Feb 2024 13:15:09 +0500 Subject: [PATCH] fixed all errors shown by eslint --- src/components/ImageGallery.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ImageGallery.jsx b/src/components/ImageGallery.jsx index 52f50a6c..0ea69fb4 100644 --- a/src/components/ImageGallery.jsx +++ b/src/components/ImageGallery.jsx @@ -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() {