Skip to content

Commit

Permalink
Merge pull request #35098 from Expensify/cristi_fix-deploy-blocker-35071
Browse files Browse the repository at this point in the history
Default isLoading to false for reimbursementAccount param in WorkspacePageWithSections.tsx
  • Loading branch information
aldo-expensify authored Jan 24, 2024
2 parents 4db7b09 + 20f70c6 commit 2e06bbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/pages/workspace/WorkspacePageWithSections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import useThemeStyles from '@hooks/useThemeStyles';
import BankAccount from '@libs/models/BankAccount';
import Navigation from '@libs/Navigation/Navigation';
import * as PolicyUtils from '@libs/PolicyUtils';
import * as ReimbursementAccountProps from '@pages/ReimbursementAccount/reimbursementAccountPropTypes';
import * as BankAccounts from '@userActions/BankAccounts';
import ONYXKEYS from '@src/ONYXKEYS';
import ROUTES from '@src/ROUTES';
Expand Down Expand Up @@ -79,7 +80,7 @@ function WorkspacePageWithSections({
guidesCallTaskID = '',
headerText,
policy,
reimbursementAccount = {},
reimbursementAccount = ReimbursementAccountProps.reimbursementAccountDefaultProps,
route,
shouldUseScrollView = false,
shouldSkipVBBACall = false,
Expand Down
2 changes: 1 addition & 1 deletion src/types/onyx/ReimbursementAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type BankAccountSubStep = ValueOf<typeof CONST.BANK_ACCOUNT.SUBSTEP>;

type ACHData = {
/** Step of the setup flow that we are on. Determines which view is presented. */
currentStep: BankAccountStep;
currentStep?: BankAccountStep;

/** Optional subStep we would like the user to start back on */
subStep?: BankAccountSubStep;
Expand Down

0 comments on commit 2e06bbd

Please sign in to comment.