From 716ddba5eff9e21439d9fdb7bea6291faa7d8720 Mon Sep 17 00:00:00 2001 From: Vut Pov Date: Sat, 9 May 2020 11:51:01 +0700 Subject: [PATCH] update jump control slider event --- src/components/JumpControls.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/JumpControls.tsx b/src/components/JumpControls.tsx index e30e76c..7f0f7d7 100644 --- a/src/components/JumpControls.tsx +++ b/src/components/JumpControls.tsx @@ -7,6 +7,7 @@ const JumpControls = (props: any)=>{ const onChange = useCallback( (value) => { + console.log(value, "hello") if(value){ const newCurrIndex = value -1 if(newCurrIndex < src.length && newCurrIndex >=0){ @@ -28,8 +29,8 @@ const JumpControls = (props: any)=>{