Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kidjp85 authored Jun 23, 2020
1 parent 75a7adf commit ab1bdd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,13 @@ const ManipulatingSwiper = () => {

const goNext = () => {
if (ref.current !== null && ref.current.swiper !== null) {
swiper.slideNext();
ref.current.swiper.slideNext();
}
};

const goPrev = () => {
if (ref.current !== null && ref.current.swiper !== null) {
swiper.slidePrev();
ref.current.swiper.slidePrev();
}
};

Expand Down

0 comments on commit ab1bdd8

Please sign in to comment.