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 ;