File tree Expand file tree Collapse file tree
src/pages/OnboardingAccounting Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,17 +242,15 @@ function BaseOnboardingAccounting({shouldUseNativeStyles}: BaseOnboardingAccount
242242 } ) ;
243243
244244 // We need to wait the policy is created before navigating out the onboarding flow
245- Navigation . setNavigationActionToMicrotaskQueue ( ( ) => {
246- navigateAfterOnboardingWithMicrotaskQueue (
247- isSmallScreenWidth ,
248- isBetaEnabled ( CONST . BETAS . DEFAULT_ROOMS ) ,
249- policyID ,
250- adminsChatReportID ,
251- // Onboarding tasks would show in Concierge instead of admins room for testing accounts, we should open where onboarding tasks are located
252- // See https://github.com/Expensify/App/issues/57167 for more details
253- ( session ?. email ?? '' ) . includes ( '+' ) ,
254- ) ;
255- } ) ;
245+ navigateAfterOnboardingWithMicrotaskQueue (
246+ isSmallScreenWidth ,
247+ isBetaEnabled ( CONST . BETAS . DEFAULT_ROOMS ) ,
248+ policyID ,
249+ adminsChatReportID ,
250+ // Onboarding tasks would show in Concierge instead of admins room for testing accounts, we should open where onboarding tasks are located
251+ // See https://github.com/Expensify/App/issues/57167 for more details
252+ ( session ?. email ?? '' ) . includes ( '+' ) ,
253+ ) ;
256254 } , [
257255 isBetaEnabled ,
258256 isSmallScreenWidth ,
You can’t perform that action at this time.
0 commit comments