diff options
author | Sebastian <sebasjm@gmail.com> | 2024-08-08 11:00:22 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-08-08 11:00:35 -0300 |
commit | 94a8d2770068c3fb146ecdc438f5f319716d6b01 (patch) | |
tree | 69306f4b125b040dcba72fe9714514dab5bd1666 | |
parent | 9309a296de491ad83b33fbf73e84e85de16d73ce (diff) |
fix typos
3 files changed, 5 insertions, 5 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/product/ProductForm.tsx b/packages/merchant-backoffice-ui/src/components/product/ProductForm.tsx index c8a7fe911..1e520a39e 100644 --- a/packages/merchant-backoffice-ui/src/components/product/ProductForm.tsx +++ b/packages/merchant-backoffice-ui/src/components/product/ProductForm.tsx @@ -56,7 +56,7 @@ export function ProductForm({ onSubscribe, initial, alreadyExist }: Props) { const { i18n } = useTranslationContext(); const { state, lib } = useSessionContext(); // FIXME: if the category list is big the will bring a lot of info - // we could find a lazy way to add up on searchs + // we could find a lazy way to add up on searches const categoriesResult = useInstanceCategories(); if (!categoriesResult) return <Loading />; if (categoriesResult instanceof TalerError) { diff --git a/packages/taler-wallet-webextension/src/wallet/DestinationSelection/state.ts b/packages/taler-wallet-webextension/src/wallet/DestinationSelection/state.ts index 81e8923aa..dd15b9106 100644 --- a/packages/taler-wallet-webextension/src/wallet/DestinationSelection/state.ts +++ b/packages/taler-wallet-webextension/src/wallet/DestinationSelection/state.ts @@ -81,13 +81,13 @@ export function useComponentState(props: Props): RecursiveState<State> { {}, ); - const unkownIndex = resp.exchanges.findIndex( + const unknownIndex = resp.exchanges.findIndex( (d) => d.exchangeUpdateStatus === ExchangeUpdateStatus.Initial, ); - if (unkownIndex === -1) return resp; + if (unknownIndex === -1) return resp; await api.wallet.call(WalletApiOperation.UpdateExchangeEntry, { - exchangeBaseUrl: resp.exchanges[unkownIndex].exchangeBaseUrl, + exchangeBaseUrl: resp.exchanges[unknownIndex].exchangeBaseUrl, force: true, }); diff --git a/packages/taler-wallet-webextension/src/wallet/History.tsx b/packages/taler-wallet-webextension/src/wallet/History.tsx index 3d7c3e662..aa0180a0e 100644 --- a/packages/taler-wallet-webextension/src/wallet/History.tsx +++ b/packages/taler-wallet-webextension/src/wallet/History.tsx @@ -184,7 +184,7 @@ export function HistoryView({ ); const balance = balances[balanceIndex]; if (!balance) { - return <div>unkown scope</div>; + return <div>unknown scope</div>; } const available = balance |