diff --git a/ts/features/wallet/onboarding/bancomatPay/saga/orchestration/addBPayToWallet.ts b/ts/features/wallet/onboarding/bancomatPay/saga/orchestration/addBPayToWallet.ts index de5340278c3..130f4b0b6b6 100644 --- a/ts/features/wallet/onboarding/bancomatPay/saga/orchestration/addBPayToWallet.ts +++ b/ts/features/wallet/onboarding/bancomatPay/saga/orchestration/addBPayToWallet.ts @@ -62,7 +62,7 @@ export function* addBPayToWalletAndActivateBpd() { ); if (res !== "back") { // integration with the legacy "Add a payment" - // If the payment starts from "WALLET_ADD_PAYMENT_METHOD", remove from stack + // If the payment starts from "WALLET_ADD_DIGITAL_PAYMENT_METHOD", remove from stack // This shouldn't happens if all the workflow will use the executeWorkUnit const currentRoute: ReturnType = yield select( navigationCurrentRouteSelector @@ -70,9 +70,10 @@ export function* addBPayToWalletAndActivateBpd() { if ( currentRoute.isSome() && - currentRoute.value === "WALLET_ADD_PAYMENT_METHOD" + currentRoute.value === "WALLET_ADD_DIGITAL_PAYMENT_METHOD" ) { yield put(NavigationActions.back()); + yield put(NavigationActions.back()); } }