From 063b0e9c8e6441b1605fa6d64b287a1991c049a3 Mon Sep 17 00:00:00 2001 From: Sungdong Jo Date: Wed, 15 Jul 2020 00:19:52 +0900 Subject: [PATCH] docs: fix wrong example code --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index ec8eaa1..b376437 100644 --- a/README.md +++ b/README.md @@ -197,8 +197,6 @@ import Swiper from 'react-id-swiper'; const ManipulatingSwiper = () => { const ref = useRef(null); - const ref = useRef(null); - const goNext = () => { if (ref.current !== null && ref.current.swiper !== null) { ref.current.swiper.slideNext();