Skip to content

Commit

Permalink
Merge pull request #48632 from dominictb/fix/48204
Browse files Browse the repository at this point in the history
fix: double rhp animation when click issue new card
  • Loading branch information
tgolen authored Sep 6, 2024
2 parents 735eb17 + 772c8f0 commit 144f42c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function WorkspaceExpensifyCardPageEmptyState({route, policy}: WorkspaceExpensif

const startFlow = useCallback(() => {
if (!eligibleBankAccounts.length || isSetupUnfinished) {
Navigation.navigate(ROUTES.BANK_ACCOUNT_WITH_STEP_TO_OPEN.getRoute('', policy?.id, ROUTES.WORKSPACE_EXPENSIFY_CARD.getRoute(policy?.id ?? '-1')));
Navigation.navigate(ROUTES.BANK_ACCOUNT_WITH_STEP_TO_OPEN.getRoute('new', policy?.id, ROUTES.WORKSPACE_EXPENSIFY_CARD.getRoute(policy?.id ?? '-1')));
} else {
Navigation.navigate(ROUTES.WORKSPACE_EXPENSIFY_CARD_BANK_ACCOUNT.getRoute(policy?.id ?? '-1'));
}
Expand Down

0 comments on commit 144f42c

Please sign in to comment.