Skip to content

Commit

Permalink
Optimize code & reduce redundency
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-priyanka-g committed Oct 5, 2023
1 parent b0bd963 commit ed0b244
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,24 +237,6 @@ export default {
],
};
},
computed: {
caseStudy() {
return Array(50).fill(this.portfolios).flat();
},
},
methods: {
onSlideChange() {
this.activeIndex = this.swiperRef.realIndex;
},
setSwiperRef(swiper) {
this.swiperRef = swiper;
this.activeIndex = this.swiperRef.realIndex;
},
slideTo(index) {
this.activeIndex = index;
this.swiperRef.slideToLoop(index);
},
},
components: {
Swiper,
SwiperSlide,
Expand Down

0 comments on commit ed0b244

Please sign in to comment.