Skip to content

Commit 190f765

Browse files
authored
Merge pull request Expensify#67049 from dukenv0307/fix/67019
navigate to OD when select 51-100 company size
2 parents 76e3fe5 + cc60891 commit 190f765

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/libs/Navigation/AppNavigator/AuthScreens.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,13 +248,13 @@ function AuthScreens({session, lastOpenedPublicRoomID, initialLastUpdateIDApplie
248248

249249
// On HybridApp we need to prevent flickering during transition to OldDot
250250
const shouldRenderOnboardingExclusivelyOnHybridApp = useMemo(() => {
251-
return CONFIG.IS_HYBRID_APP && Navigation.getActiveRoute().includes(ROUTES.ONBOARDING_ACCOUNTING.route) && isOnboardingCompleted === true;
251+
return CONFIG.IS_HYBRID_APP && Navigation.getActiveRoute().includes(ROUTES.ONBOARDING_INTERESTED_FEATURES.route) && isOnboardingCompleted === true;
252252
}, [isOnboardingCompleted]);
253253

254254
const shouldRenderOnboardingExclusively = useMemo(() => {
255255
return (
256256
!CONFIG.IS_HYBRID_APP &&
257-
Navigation.getActiveRoute().includes(ROUTES.ONBOARDING_ACCOUNTING.route) &&
257+
Navigation.getActiveRoute().includes(ROUTES.ONBOARDING_INTERESTED_FEATURES.route) &&
258258
getPlatform() !== CONST.PLATFORM.DESKTOP &&
259259
onboardingCompanySize !== CONST.ONBOARDING_COMPANY_SIZE.MICRO &&
260260
isOnboardingCompleted === true &&

0 commit comments

Comments
 (0)