Skip to content

Commit

Permalink
Fix flow for standalone NewDot
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuuszzzzz committed Dec 12, 2024
1 parent 97be5e6 commit 984b9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/OnboardingEmployees/BaseOnboardingEmployees.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function BaseOnboardingEmployees({shouldUseNativeStyles, route}: BaseOnboardingE
Welcome.setOnboardingPolicyID(policyID);
}

if (selectedCompanySize === CONST.ONBOARDING_COMPANY_SIZE.MICRO) {
if (!NativeModules.HybridAppModule || selectedCompanySize === CONST.ONBOARDING_COMPANY_SIZE.MICRO) {
Navigation.navigate(ROUTES.ONBOARDING_ACCOUNTING.getRoute(route.params?.backTo));
return;
}
Expand Down

0 comments on commit 984b9c4

Please sign in to comment.