From 88ef4fa9eda3b680a7ac75280fc611feb18ced9d Mon Sep 17 00:00:00 2001 From: Pablo Velez Vidal Date: Tue, 1 Nov 2022 12:58:59 +0100 Subject: [PATCH] start the buttons animation --- app/screens/onboarding/footer_buttons.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/screens/onboarding/footer_buttons.tsx b/app/screens/onboarding/footer_buttons.tsx index 8cc8dc982..ed8b1c8c0 100644 --- a/app/screens/onboarding/footer_buttons.tsx +++ b/app/screens/onboarding/footer_buttons.tsx @@ -40,9 +40,12 @@ const FooterButtons = ({ }: Props) => { const {width} = useWindowDimensions(); const styles = getStyleSheet(theme); + const inputRange = [-width, 0, width]; useEffect(() => { - console.log('is last slide'); + if (isLastSlide) { + console.log('is last slide'); + } }, [isLastSlide]); let mainButtonText = (