Skip to content

Commit

Permalink
style: fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardobattisti committed Feb 22, 2025
1 parent 9390368 commit d50323d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/loop/loopDestroy.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default function loopDestroy() {
const swiper = this;
const { params, slidesEl } = swiper;
if ((!params.loop || !slidesEl) || (swiper.virtual && swiper.params.virtual.enabled)) return;
if (!params.loop || !slidesEl || (swiper.virtual && swiper.params.virtual.enabled)) return;
swiper.recalcSlides();

const newSlidesOrder = [];
Expand Down

0 comments on commit d50323d

Please sign in to comment.