taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 4c2048d5d41359c9a923ab769fb02a93996f2d2c
parent 2a619eadbe510c49e3b6a29d0813168840da998c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 28 Apr 2021 00:01:52 +0200

fix more typos

Diffstat:
Mcontrib/style.txt | 2+-
Mpackages/taler-wallet-webextension/src/pages/refund.tsx | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/style.txt b/contrib/style.txt @@ -37,7 +37,7 @@ APIs: Dependency Injection (DI): DI is a useful pattern when components need to be replaced by mocks or have multiple co-existing implementations. But DI also makes code overly generic, -bureaucratic and less readble. Only use DI if there is a definite need for it, +bureaucratic and less readable. Only use DI if there is a definite need for it, do not use it by default. Inject individual dependencies via class constructors and avoid service locators. diff --git a/packages/taler-wallet-webextension/src/pages/refund.tsx b/packages/taler-wallet-webextension/src/pages/refund.tsx @@ -89,7 +89,7 @@ export function createRefundPage(): JSX.Element { const talerRefundUri = url.searchParams.get("talerRefundUri"); if (!talerRefundUri) { - throw Error("taler refund URI requred"); + throw Error("taler refund URI required"); } return <RefundStatusView talerRefundUri={talerRefundUri} />;