Skip to content

Commit cc60891

Browse files
committed
navigate to OD when select 51-100 company size
1 parent 87764b3 commit cc60891

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)