From dfd1ab5c193ca14ba05f6b52d0162b96ba273bd0 Mon Sep 17 00:00:00 2001 From: Agata Kosior Date: Mon, 7 Oct 2024 10:07:42 +0700 Subject: [PATCH] fix: apply suggestion --- src/pages/ReimbursementAccount/BankInfo/substeps/Manual.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/ReimbursementAccount/BankInfo/substeps/Manual.tsx b/src/pages/ReimbursementAccount/BankInfo/substeps/Manual.tsx index 1fe21fd0963a..d39f5e0ba096 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 shouldBeReadOnlyInput = reimbursementAccount?.achData?.setupType === CONST.BANK_ACCOUNT.SETUP_TYPE.PLAID; const validate = useCallback( (values: FormOnyxValues): FormInputErrors => { @@ -88,7 +88,7 @@ function Manual({onNext}: ManualProps) { inputMode={CONST.INPUT_MODE.NUMERIC} shouldSaveDraft shouldUseDefaultValue={hasBankAccountData} - disabled={shouldBeReadonlyInput} + disabled={shouldBeReadOnlyInput} /> );