commit 94a8d2770068c3fb146ecdc438f5f319716d6b01 parent 9309a296de491ad83b33fbf73e84e85de16d73ce Author: Sebastian <sebasjm@gmail.com> Date: Thu, 8 Aug 2024 11:00:22 -0300 fix typos Diffstat:
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 @@ -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 @@ -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 @@ -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