From 0db9204f2ba3b2841bba6a21261ba64353eecd64 Mon Sep 17 00:00:00 2001 From: Carlos Miceli Date: Fri, 27 Sep 2024 16:11:51 -0300 Subject: [PATCH] remove back button from onboarding work --- src/pages/OnboardingWork/BaseOnboardingWork.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/OnboardingWork/BaseOnboardingWork.tsx b/src/pages/OnboardingWork/BaseOnboardingWork.tsx index 1e8406b62c44..748b9e0e6cbd 100644 --- a/src/pages/OnboardingWork/BaseOnboardingWork.tsx +++ b/src/pages/OnboardingWork/BaseOnboardingWork.tsx @@ -30,6 +30,8 @@ function BaseOnboardingWork({shouldUseNativeStyles, onboardingPurposeSelected, o const {onboardingIsMediumOrLargerScreenWidth} = useResponsiveLayout(); const {inputCallbackRef} = useAutoFocusInput(); + const [onboardingValues] = useOnyx(ONYXKEYS.NVP_ONBOARDING); + const completeEngagement = useCallback( (values: FormOnyxValues<'onboardingWorkForm'>) => { if (!onboardingPurposeSelected) { @@ -73,7 +75,7 @@ function BaseOnboardingWork({shouldUseNativeStyles, onboardingPurposeSelected, o style={[styles.defaultModalContainer, shouldUseNativeStyles && styles.pt8]} >