Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
koko57 committed Sep 19, 2024
1 parent 6018fdc commit 90e396b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/pages/ReimbursementAccount/ReimbursementAccountPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ function ReimbursementAccountPage({
* Returns true if a VBBA exists in any state other than OPEN or LOCKED
*/
function hasInProgressVBBA(): boolean {
console.log(!!achData?.bankAccountID && achData?.state !== BankAccount.STATE.OPEN && achData?.state !== BankAccount.STATE.LOCKED);
return !!achData?.bankAccountID && achData?.state !== BankAccount.STATE.OPEN && achData?.state !== BankAccount.STATE.LOCKED;
}
/*
Expand All @@ -194,7 +193,6 @@ function ReimbursementAccountPage({
// Since there is no VBBA in progress, we won't need to show the component ContinueBankAccountSetup
return false;
}
console.log('heeere', achData?.state === BankAccount.STATE.PENDING || [CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT, ''].includes(getStepToOpenFromRouteParams(route)));
return achData?.state === BankAccount.STATE.PENDING || [CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT, ''].includes(getStepToOpenFromRouteParams(route));
}

Expand Down Expand Up @@ -275,7 +273,6 @@ function ReimbursementAccountPage({
}

if (!hasACHDataBeenLoaded) {
console.log('here1');
if (reimbursementAccount !== CONST.REIMBURSEMENT_ACCOUNT.DEFAULT_DATA && isReimbursementAccountLoading === false) {
setShouldShowContinueSetupButton(getShouldShowContinueSetupButtonInitialValue());
setHasACHDataBeenLoaded(true);
Expand All @@ -288,7 +285,6 @@ function ReimbursementAccountPage({
prevReimbursementAccount.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE &&
reimbursementAccount?.pendingAction !== prevReimbursementAccount.pendingAction
) {
console.log('here2');
setShouldShowContinueSetupButton(hasInProgressVBBA());
}

Expand Down Expand Up @@ -343,7 +339,6 @@ function ReimbursementAccountPage({
switch (currentStep) {
case CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT:
if (hasInProgressVBBA()) {
console.log('here4');
setShouldShowContinueSetupButton(true);
}
if (subStep) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import Navigation from '@navigation/Navigation';
import * as CompanyCards from '@userActions/CompanyCards';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import ROUTES from '@src/ROUTES';
import type * as OnyxTypes from '@src/types/onyx';

const MINIMUM_MEMBER_TO_SHOW_SEARCH = 8;
Expand Down

0 comments on commit 90e396b

Please sign in to comment.