From 63ac96f33a894d7cbb10d2f641fd53bb29abf3e3 Mon Sep 17 00:00:00 2001 From: Fedi Rajhi Date: Tue, 4 Jul 2023 21:15:30 +0100 Subject: [PATCH 1/2] [Fix] Remove duplicate code --- .../ReimbursementAccount/ReimbursementAccountPage.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/pages/ReimbursementAccount/ReimbursementAccountPage.js b/src/pages/ReimbursementAccount/ReimbursementAccountPage.js index 7b4681100f6b..69a5d0deb3cd 100644 --- a/src/pages/ReimbursementAccount/ReimbursementAccountPage.js +++ b/src/pages/ReimbursementAccount/ReimbursementAccountPage.js @@ -362,16 +362,6 @@ class ReimbursementAccountPage extends React.Component { ); } - if (this.state.shouldShowContinueSetupButton) { - return ( - - ); - } - let errorText; const userHasPhonePrimaryEmail = Str.endsWith(this.props.session.email, CONST.SMS.DOMAIN); const throttledDate = lodashGet(this.props.reimbursementAccount, 'throttledDate'); From fae175f3c76429b7f91f5b02f42e1cb0c5cc3936 Mon Sep 17 00:00:00 2001 From: Fedi Rajhi Date: Tue, 4 Jul 2023 21:15:30 +0100 Subject: [PATCH 2/2] [Fix] Remove duplicate code --- .../ReimbursementAccount/ReimbursementAccountPage.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/pages/ReimbursementAccount/ReimbursementAccountPage.js b/src/pages/ReimbursementAccount/ReimbursementAccountPage.js index 7b4681100f6b..69a5d0deb3cd 100644 --- a/src/pages/ReimbursementAccount/ReimbursementAccountPage.js +++ b/src/pages/ReimbursementAccount/ReimbursementAccountPage.js @@ -362,16 +362,6 @@ class ReimbursementAccountPage extends React.Component { ); } - if (this.state.shouldShowContinueSetupButton) { - return ( - - ); - } - let errorText; const userHasPhonePrimaryEmail = Str.endsWith(this.props.session.email, CONST.SMS.DOMAIN); const throttledDate = lodashGet(this.props.reimbursementAccount, 'throttledDate');