diff --git a/src/components/MultifactorAuthentication/mfaNavigation.ts b/src/components/MultifactorAuthentication/mfaNavigation.ts index 127f341845a8..6b009b1fca3c 100644 --- a/src/components/MultifactorAuthentication/mfaNavigation.ts +++ b/src/components/MultifactorAuthentication/mfaNavigation.ts @@ -1,6 +1,5 @@ import {createNavigationContainerRef, StackActions} from '@react-navigation/native'; import type {MultifactorAuthenticationModalNavigatorParamList} from '@libs/Navigation/types'; -import CONFIG from '@src/CONFIG'; import SCREENS from '@src/SCREENS'; /** @@ -16,12 +15,6 @@ type MultifactorAuthenticationModalNavigatorInternalParamList = MultifactorAuthe const mfaNavigationRef = createNavigationContainerRef(); -// Outcome screens are terminal states the flow ends on. -const OUTCOME_SCREENS = new Set([ - SCREENS.MULTIFACTOR_AUTHENTICATION.OUTCOME_SUCCESS, - SCREENS.MULTIFACTOR_AUTHENTICATION.OUTCOME_FAILURE, -]); - // Screens that live inside this independent overlay navigator. REVOKE and AUTHORIZE_TRANSACTION are intentionally excluded: they // render in the main RHP modal stack, not this tree. const MFA_OVERLAY_SCREENS = new Set([ @@ -71,16 +64,6 @@ function navigate {