diff --git a/src/pages/EnablePayments/EnablePaymentsPage.js b/src/pages/EnablePayments/EnablePaymentsPage.js index 903ec0c520b9..855cf6b9a6ec 100644 --- a/src/pages/EnablePayments/EnablePaymentsPage.js +++ b/src/pages/EnablePayments/EnablePaymentsPage.js @@ -82,41 +82,14 @@ class EnablePaymentsPage extends React.Component { <> {(currentStep === CONST.WALLET.STEP.ADDITIONAL_DETAILS || currentStep === CONST.WALLET.STEP.ADDITIONAL_DETAILS_KBA) && } {currentStep === CONST.WALLET.STEP.ONFIDO && } - {currentStep === CONST.WALLET.STEP.TERMS && } + {currentStep === CONST.WALLET.STEP.TERMS && } {currentStep === CONST.WALLET.STEP.ACTIVATE && } ); -<<<<<<< HEAD }} ); } -======= - } - - if (userWallet.shouldShowWalletActivationSuccess) { - return ; - } - - const currentStep = userWallet.currentStep || CONST.WALLET.STEP.ADDITIONAL_DETAILS; - - switch (currentStep) { - case CONST.WALLET.STEP.ADDITIONAL_DETAILS: - case CONST.WALLET.STEP.ADDITIONAL_DETAILS_KBA: - return ; - case CONST.WALLET.STEP.ONFIDO: - return ; - case CONST.WALLET.STEP.TERMS: - return ; - case CONST.WALLET.STEP.ACTIVATE: - return ; - default: - return null; - } - }} - - ); ->>>>>>> bcc8a63 (Merge pull request #28433 from Expensify/cole_wallet_terms) } EnablePaymentsPage.propTypes = propTypes;