Skip to content

Commit

Permalink
Fix issue: Expensify Card - Back button on profile returns to member …
Browse files Browse the repository at this point in the history
…selection page after issuing card
  • Loading branch information
WojtekBoman committed Oct 30, 2024
1 parent f4d7f2e commit 4c7c320
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function ConfirmationStep({policyID, backTo}: ConfirmationStepProps) {
if (!isSuccessful) {
return;
}
Navigation.navigate(backTo ?? ROUTES.WORKSPACE_EXPENSIFY_CARD.getRoute(policyID ?? '-1'));
Navigation.goUp(backTo ?? ROUTES.WORKSPACE_EXPENSIFY_CARD.getRoute(policyID ?? '-1'));
Card.clearIssueNewCardFlow();
}, [backTo, policyID, isSuccessful]);

Expand Down

0 comments on commit 4c7c320

Please sign in to comment.