remove nnecessary slidesRef dependency
This commit is contained in:
parent
f6d4fe2e75
commit
7039f8b508
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ const Onboarding = ({
|
|||
} else if (slidesRef.current && currentIndex.value === LAST_SLIDE_INDEX) {
|
||||
signInHandler();
|
||||
}
|
||||
}, [currentIndex, slidesRef.current, moveToSlide, signInHandler]);
|
||||
}, [currentIndex, moveToSlide, signInHandler]);
|
||||
|
||||
const scrollHandler = useCallback((event: NativeSyntheticEvent<NativeScrollEvent>) => {
|
||||
scrollX.value = event.nativeEvent.contentOffset.x;
|
||||
|
|
|
|||
Loading…
Reference in a new issue