From 4c2048d5d41359c9a923ab769fb02a93996f2d2c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 28 Apr 2021 00:01:52 +0200 Subject: [PATCH] fix more typos --- contrib/style.txt | 2 +- packages/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 index d6d96cb7d..ea8bfeba4 100644 --- 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 index bfeec0aa3..8096378fc 100644 --- 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 ;