From 826d7da676d6c5175858c9b9e0b8b6d34919ffb5 Mon Sep 17 00:00:00 2001 From: Vishal Singal Date: Tue, 25 Aug 2020 18:47:39 +0530 Subject: [PATCH] Update README.md fix external control example --- 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();