fix more typos

This commit is contained in:
Christian Grothoff 2021-04-28 00:01:52 +02:00
parent 2a619eadbe
commit 4c2048d5d4
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ APIs:
Dependency Injection (DI): Dependency Injection (DI):
DI is a useful pattern when components need to be replaced by mocks or have 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, 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 do not use it by default. Inject individual dependencies via class
constructors and avoid service locators. constructors and avoid service locators.

View File

@ -89,7 +89,7 @@ export function createRefundPage(): JSX.Element {
const talerRefundUri = url.searchParams.get("talerRefundUri"); const talerRefundUri = url.searchParams.get("talerRefundUri");
if (!talerRefundUri) { if (!talerRefundUri) {
throw Error("taler refund URI requred"); throw Error("taler refund URI required");
} }
return <RefundStatusView talerRefundUri={talerRefundUri} />; return <RefundStatusView talerRefundUri={talerRefundUri} />;