Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jan 2, 2025
1 parent 8136607 commit 1df1a11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@
"vite": "^4.5.0",
"vue": "^3.3.6"
}
}
}
4 changes: 1 addition & 3 deletions src/core/core.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,7 @@ class Swiper {

getSlideIndexByData(index) {
return this.getSlideIndex(
this.slides.find(
(slideEl) => slideEl.getAttribute('data-swiper-slide-index') * 1 === index
),
this.slides.find((slideEl) => slideEl.getAttribute('data-swiper-slide-index') * 1 === index),
);
}

Expand Down

0 comments on commit 1df1a11

Please sign in to comment.