Skip to content

Commit

Permalink
fix: country field rename
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMuzyk committed Jan 7, 2025
1 parent 856ed3b commit 5bab709
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ function BusinessInfo({onBackButtonPress, onSubmit}: BusinessInfoProps) {
const onyxValues = useMemo(() => getSubstepValues(INPUT_KEYS, reimbursementAccountDraft, reimbursementAccount), [reimbursementAccount, reimbursementAccountDraft]);
const bankAccountID = reimbursementAccount?.achData?.bankAccountID ?? 0;

Check failure on line 73 in src/pages/ReimbursementAccount/NonUSD/BusinessInfo/BusinessInfo.tsx

View workflow job for this annotation

GitHub Actions / Changed files ESLint check


const country =
reimbursementAccount?.achData?.additionalData?.[INPUT_IDS.ADDITIONAL_DATA.DESTINATION_COUNTRY] ?? reimbursementAccountDraft?.[INPUT_IDS.ADDITIONAL_DATA.DESTINATION_COUNTRY] ?? '';
const country = reimbursementAccount?.achData?.additionalData?.[INPUT_IDS.ADDITIONAL_DATA.COUNTRY] ?? reimbursementAccountDraft?.[INPUT_IDS.ADDITIONAL_DATA.COUNTRY] ?? '';

useEffect(() => {
BankAccounts.getCorpayOnboardingFields(country);
Expand Down

0 comments on commit 5bab709

Please sign in to comment.