Skip to content

Commit

Permalink
Update src/pages/workspace/companyCards/addNew/BankConnection/index.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: dukenv0307 <129500732+dukenv0307@users.noreply.github.com>
  • Loading branch information
DylanDylann and dukenv0307 authored Nov 5, 2024
1 parent eb10d31 commit 806aa97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function BankConnection({policyID}: BankConnectionStepProps) {
}
if (isBankConnectionCompleteRoute) {
customWindow?.close();
Navigation.navigate(ROUTES.WORKSPACE_COMPANY_CARDS.getRoute(policyID));
Navigation.navigate(ROUTES.WORKSPACE_COMPANY_CARDS.getRoute(policyID ?? '-1'));
return;
}
customWindow = openBankConnection(url);
Expand Down

0 comments on commit 806aa97

Please sign in to comment.