From db5d5883d2acec2f6c9cc705b9aeb7cfafefde56 Mon Sep 17 00:00:00 2001 From: Cole Eason Date: Fri, 29 Sep 2023 13:55:28 +0800 Subject: [PATCH] prettier fixes --- src/CONST.ts | 2 +- src/languages/en.ts | 2 +- src/languages/es.ts | 2 +- src/languages/types.ts | 2 +- src/pages/EnablePayments/TermsPage/ShortTermsForm.js | 6 +++++- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/CONST.ts b/src/CONST.ts index 068b1f6507cb..f1d717f697cc 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -992,7 +992,7 @@ const CONST = { STATEMENT: 'STATEMENT_NAVIGATE', CONCIERGE: 'CONCIERGE_NAVIGATE', }, - MTL_WALLET_PROGRAM_ID : '760', + MTL_WALLET_PROGRAM_ID: '760', }, PLAID: { diff --git a/src/languages/en.ts b/src/languages/en.ts index ecfb131d68b3..db08b5484ddf 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -1171,7 +1171,7 @@ export default { electronicFundsWithdrawal: 'Electronic funds withdrawal', standard: 'Standard', shortTermsForm: { - expensifyPaymentsAccount: ({ walletProgram }: WalletProgramParams) => `The Expensify Wallet is issued by ${walletProgram}.`, + expensifyPaymentsAccount: ({walletProgram}: WalletProgramParams) => `The Expensify Wallet is issued by ${walletProgram}.`, perPurchase: 'Per purchase', atmWithdrawal: 'ATM withdrawal', cashReload: 'Cash reload', diff --git a/src/languages/es.ts b/src/languages/es.ts index 08817bb84b6a..4b5623aef268 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -1188,7 +1188,7 @@ export default { electronicFundsWithdrawal: 'Retiro electrónico de fondos', standard: 'Estándar', shortTermsForm: { - expensifyPaymentsAccount: ({ walletProgram }: WalletProgramParams) => `La billetera Expensify es emitida por ${walletProgram}.`, + 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/languages/types.ts b/src/languages/types.ts index 330973bd5e08..52f2df8b3765 100644 --- a/src/languages/types.ts +++ b/src/languages/types.ts @@ -194,7 +194,7 @@ type FormattedMaxLengthParams = {formattedMaxLength: string}; type TagSelectionParams = {tagName: string}; -type WalletProgramParams = { walletProgram: string }; +type WalletProgramParams = {walletProgram: string}; /* Translation Object types */ // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/src/pages/EnablePayments/TermsPage/ShortTermsForm.js b/src/pages/EnablePayments/TermsPage/ShortTermsForm.js index adf164ea7e3c..4c3bfb7eaf61 100644 --- a/src/pages/EnablePayments/TermsPage/ShortTermsForm.js +++ b/src/pages/EnablePayments/TermsPage/ShortTermsForm.js @@ -19,7 +19,11 @@ const defaultProps = { function ShortTermsForm(props) { return ( <> - {Localize.translateLocal('termsStep.shortTermsForm.expensifyPaymentsAccount', { walletProgram: props.userWallet.walletProgramID === CONST.WALLET.MTL_WALLET_PROGRAM_ID ? 'Expensify Payments' : 'The Bancorp Bank'})} + + {Localize.translateLocal('termsStep.shortTermsForm.expensifyPaymentsAccount', { + walletProgram: props.userWallet.walletProgramID === CONST.WALLET.MTL_WALLET_PROGRAM_ID ? 'Expensify Payments' : 'The Bancorp Bank', + })} +