From f44b3f6b1f923dff8ba6f05dacbddce20ba5675e Mon Sep 17 00:00:00 2001 From: Cole Eason Date: Fri, 29 Sep 2023 13:48:48 +0800 Subject: [PATCH] Fix lint checks --- src/languages/en.ts | 1 - src/languages/es.ts | 3 ++- src/pages/EnablePayments/TermsStep.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/languages/en.ts b/src/languages/en.ts index 8395854a4000..ecfb131d68b3 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -76,7 +76,6 @@ import type { WalletProgramParams, } from './types'; import * as ReportActionsUtils from '../libs/ReportActionsUtils'; -import walletTermsPropTypes from '../pages/EnablePayments/walletTermsPropTypes'; type StateValue = { stateISO: string; diff --git a/src/languages/es.ts b/src/languages/es.ts index 2be3f9e96265..08817bb84b6a 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -73,6 +73,7 @@ import type { RequestedAmountMessageParams, TagSelectionParams, EnglishTranslation, + WalletProgramParams, } from './types'; /* eslint-disable max-len */ @@ -1187,7 +1188,7 @@ export default { electronicFundsWithdrawal: 'Retiro electrónico de fondos', standard: 'Estándar', shortTermsForm: { - expensifyPaymentsAccount: 'La billetera Expensify es emitida por The Bancorp Bank.', + expensifyPaymentsAccount: ({ walletProgram }: WalletProgramParams) => `La billetera Expensify es emitida por ${walletProgram}.`, perPurchase: 'Por compra', atmWithdrawal: 'Retiro de cajero automático', cashReload: 'Recarga de efectivo', diff --git a/src/pages/EnablePayments/TermsStep.js b/src/pages/EnablePayments/TermsStep.js index 3194ea637a7d..39f4826ec0b2 100644 --- a/src/pages/EnablePayments/TermsStep.js +++ b/src/pages/EnablePayments/TermsStep.js @@ -64,7 +64,7 @@ function TermsStep(props) { style={styles.flex1} contentContainerStyle={styles.ph5} > - +