Loading mobile/src/profile/screens/first_time_config_screen.tsx +1 −3 Original line number Diff line number Diff line Loading @@ -15,15 +15,13 @@ import { useSlideControl } from "../hooks/useSlideControl"; import { router } from "expo-router"; export const FirstTimeComfigScreen = () => { const { onSubmit, toogleInterest, interests, control } = useSetUpProfile(); const { onSubmit, toogleInterest, interests } = useSetUpProfile(); const onFinishCallback = () => { onSubmit(); }; console.log('render'); const { onFinish, onNext, onPrevious, currentSlide } = useSlideControl(onFinishCallback); const slides = [ <InterestSlide options={interests} onToogleOption={toogleInterest} />, <BirthdateSlide control={control} />, ]; return ( Loading Loading
mobile/src/profile/screens/first_time_config_screen.tsx +1 −3 Original line number Diff line number Diff line Loading @@ -15,15 +15,13 @@ import { useSlideControl } from "../hooks/useSlideControl"; import { router } from "expo-router"; export const FirstTimeComfigScreen = () => { const { onSubmit, toogleInterest, interests, control } = useSetUpProfile(); const { onSubmit, toogleInterest, interests } = useSetUpProfile(); const onFinishCallback = () => { onSubmit(); }; console.log('render'); const { onFinish, onNext, onPrevious, currentSlide } = useSlideControl(onFinishCallback); const slides = [ <InterestSlide options={interests} onToogleOption={toogleInterest} />, <BirthdateSlide control={control} />, ]; return ( Loading