Skip to content

Commit

Permalink
Fix bank account open route
Browse files Browse the repository at this point in the history
  • Loading branch information
tgolen committed Sep 25, 2023
1 parent 92648b6 commit a0f4af2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/ReimbursementAccount/BankAccountStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ function BankAccountStep(props) {
subStep = CONST.BANK_ACCOUNT.SETUP_TYPE.PLAID;
}
const plaidDesktopMessage = getPlaidDesktopMessage();
const bankAccountRoute = `${CONFIG.EXPENSIFY.NEW_EXPENSIFY_URL}${ROUTES.getBankAccountRoute('new', props.policyID, ROUTES.getWorkspaceInitialRoute(props.policyID))}`;
const bankAccountRoute = `${CONFIG.EXPENSIFY.NEW_EXPENSIFY_URL}${ROUTES.BANK_ACCOUNT_WITH_STEP_TO_OPEN.getRoute(
'new',
props.policyID,
ROUTES.WORKSPACE_INITIAL.getRoute(props.policyID),
)}`;

if (subStep === CONST.BANK_ACCOUNT.SETUP_TYPE.MANUAL) {
return (
Expand Down

0 comments on commit a0f4af2

Please sign in to comment.