Skip to content

Commit

Permalink
Merge pull request #13170 from Expensify/joel_detailsForm
Browse files Browse the repository at this point in the history
Allow first and last name in send money additional details to be completely deleted and refactor to use Form
  • Loading branch information
NikkiWines authored Jan 11, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 55029d9 + b1cd76e commit eb67e49
Showing 5 changed files with 116 additions and 237 deletions.
3 changes: 0 additions & 3 deletions src/ONYXKEYS.js
Original file line number Diff line number Diff line change
@@ -112,9 +112,6 @@ export default {
// Stores information about additional details form entry
WALLET_ADDITIONAL_DETAILS: 'walletAdditionalDetails',

// Stores values put into the additional details step of the wallet KYC flow
WALLET_ADDITIONAL_DETAILS_DRAFT: 'walletAdditionalDetailsDraft',

// Object containing Wallet terms step state
WALLET_TERMS: 'walletTerms',

8 changes: 0 additions & 8 deletions src/libs/actions/Wallet.js
Original file line number Diff line number Diff line change
@@ -262,13 +262,6 @@ function openEnablePaymentsPage() {
API.read('OpenEnablePaymentsPage');
}

/**
* @param {Object} keyValuePair
*/
function updateAdditionalDetailsDraft(keyValuePair) {
Onyx.merge(ONYXKEYS.WALLET_ADDITIONAL_DETAILS_DRAFT, keyValuePair);
}

/**
* @param {String} currentStep
*/
@@ -317,7 +310,6 @@ export {
openInitialSettingsPage,
openEnablePaymentsPage,
setAdditionalDetailsErrors,
updateAdditionalDetailsDraft,
setAdditionalDetailsErrorMessage,
setAdditionalDetailsQuestions,
updateCurrentStep,
Loading

0 comments on commit eb67e49

Please sign in to comment.