diff --git a/src/pages/ReimbursementAccount/BankInfo/substeps/Manual.tsx b/src/pages/ReimbursementAccount/BankInfo/substeps/Manual.tsx index d39f5e0ba096..0d298f72796b 100644 --- a/src/pages/ReimbursementAccount/BankInfo/substeps/Manual.tsx +++ b/src/pages/ReimbursementAccount/BankInfo/substeps/Manual.tsx @@ -33,7 +33,7 @@ function Manual({onNext}: ManualProps) { [BANK_INFO_STEP_KEYS.ACCOUNT_NUMBER]: reimbursementAccount?.achData?.[BANK_INFO_STEP_KEYS.ACCOUNT_NUMBER] ?? '', }; - const shouldBeReadOnlyInput = reimbursementAccount?.achData?.setupType === CONST.BANK_ACCOUNT.SETUP_TYPE.PLAID; + const hasBankAccountData = !!(reimbursementAccount?.achData?.bankAccountID ?? ''); const validate = useCallback( (values: FormOnyxValues): FormInputErrors => { @@ -58,8 +58,6 @@ function Manual({onNext}: ManualProps) { [translate], ); - const hasBankAccountData = !!(reimbursementAccount?.achData?.bankAccountID ?? ''); - const handleSubmit = useReimbursementAccountStepFormSubmit({ fieldIds: STEP_FIELDS, onNext, @@ -88,7 +86,7 @@ function Manual({onNext}: ManualProps) { inputMode={CONST.INPUT_MODE.NUMERIC} shouldSaveDraft shouldUseDefaultValue={hasBankAccountData} - disabled={shouldBeReadOnlyInput} + disabled={hasBankAccountData} /> );