Skip to content

Commit

Permalink
Merge pull request Expensify#13167 from Expensify/cmartins-fixBankAcc…
Browse files Browse the repository at this point in the history
…ount

Add reimbursement account draft
  • Loading branch information
Luke9389 authored Nov 29, 2022
2 parents d0ec879 + 66a9869 commit 11e383e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/pages/ReimbursementAccount/CompanyStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,18 @@ import Picker from '../../components/Picker';
import AddressForm from './AddressForm';
import * as ReimbursementAccountUtils from '../../libs/ReimbursementAccountUtils';
import reimbursementAccountPropTypes from './reimbursementAccountPropTypes';
import reimbursementAccountDraftPropTypes from './ReimbursementAccountDraftPropTypes';
import Form from '../../components/Form';

const propTypes = {
/** The bank account currently in setup */
/* eslint-disable-next-line react/no-unused-prop-types */
reimbursementAccount: reimbursementAccountPropTypes.isRequired,

/** The draft values of the bank account being setup */
/* eslint-disable-next-line react/no-unused-prop-types */
reimbursementAccountDraft: reimbursementAccountDraftPropTypes.isRequired,

...withLocalizePropTypes,
};

Expand Down Expand Up @@ -260,6 +265,9 @@ export default compose(
reimbursementAccount: {
key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,
},
reimbursementAccountDraft: {
key: ONYXKEYS.REIMBURSEMENT_ACCOUNT_DRAFT,
},
session: {
key: ONYXKEYS.SESSION,
},
Expand Down

0 comments on commit 11e383e

Please sign in to comment.