aboutsummaryrefslogtreecommitdiff
path: root/packages/auditor-backoffice-ui/src
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-01-24 17:48:00 -0300
committerSebastian <sebasjm@gmail.com>2024-01-24 17:48:00 -0300
commita324ba367a75fc790f9456e479e7bbf22abe00aa (patch)
treea34fc8ea0a9fbe3afa251e684e1fe5173a8fb8f5 /packages/auditor-backoffice-ui/src
parent236d4347f5884bb1d9ca1d3bb4ad0ba776577fd2 (diff)
downloadwallet-core-a324ba367a75fc790f9456e479e7bbf22abe00aa.tar.xz
fixes #8265
Diffstat (limited to 'packages/auditor-backoffice-ui/src')
-rw-r--r--packages/auditor-backoffice-ui/src/Application.tsx2
-rw-r--r--packages/auditor-backoffice-ui/src/paths/instance/orders/create/CreatePage.tsx2
-rw-r--r--packages/auditor-backoffice-ui/src/paths/instance/token/DetailPage.tsx12
-rw-r--r--packages/auditor-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx2
4 files changed, 9 insertions, 9 deletions
diff --git a/packages/auditor-backoffice-ui/src/Application.tsx b/packages/auditor-backoffice-ui/src/Application.tsx
index e8b6b0be3..9e076d55c 100644
--- a/packages/auditor-backoffice-ui/src/Application.tsx
+++ b/packages/auditor-backoffice-ui/src/Application.tsx
@@ -92,7 +92,7 @@ function ApplicationStatusRoutes(): VNode {
<NotConnectedAppMenu title="Error" />
<NotificationCard
notification={{
- message: i18n.str`Could not find /config enpoint on this URL`,
+ message: i18n.str`Could not find /config endpoint on this URL`,
type: "ERROR",
description: `Check the URL or contact the system administrator.`,
}}
diff --git a/packages/auditor-backoffice-ui/src/paths/instance/orders/create/CreatePage.tsx b/packages/auditor-backoffice-ui/src/paths/instance/orders/create/CreatePage.tsx
index fbfd023c1..62ceaa24b 100644
--- a/packages/auditor-backoffice-ui/src/paths/instance/orders/create/CreatePage.tsx
+++ b/packages/auditor-backoffice-ui/src/paths/instance/orders/create/CreatePage.tsx
@@ -329,7 +329,7 @@ export function CreatePage({
// if there is no default pay deadline
const noDefault_payDeadline = !instance_default.payments || !instance_default.payments.pay_deadline
- // and there is no defailt wire deadline
+ // and there is no default wire deadline
const noDefault_wireDeadline = !instance_default.payments || !instance_default.payments.wire_transfer_deadline
// user required to set the taler options
const requiresSomeTalerOptions = noDefault_payDeadline || noDefault_wireDeadline
diff --git a/packages/auditor-backoffice-ui/src/paths/instance/token/DetailPage.tsx b/packages/auditor-backoffice-ui/src/paths/instance/token/DetailPage.tsx
index d22a9e4d4..549e7581f 100644
--- a/packages/auditor-backoffice-ui/src/paths/instance/token/DetailPage.tsx
+++ b/packages/auditor-backoffice-ui/src/paths/instance/token/DetailPage.tsx
@@ -71,9 +71,9 @@ export function DetailPage({ instanceId, hasToken, onBack, onNewToken, onClearTo
async function submitForm() {
if (hasErrors) return;
- const ot = hasToken ? `secret-token:${form.old_token}` as AccessToken : undefined;
- const nt = `secret-token:${form.new_token}` as AccessToken;
- onNewToken(ot, nt)
+ const oldToken = hasToken ? `secret-token:${form.old_token}` as AccessToken : undefined;
+ const newToken = `secret-token:${form.new_token}` as AccessToken;
+ onNewToken(oldToken, newToken)
}
return (
@@ -93,7 +93,7 @@ export function DetailPage({ instanceId, hasToken, onBack, onNewToken, onClearTo
</div>
</section>
<hr />
-
+
{!hasToken &&
<NotificationCard
notification={{
@@ -127,8 +127,8 @@ export function DetailPage({ instanceId, hasToken, onBack, onNewToken, onClearTo
class="button"
onClick={() => {
if (hasToken) {
- const ot = `secret-token:${form.old_token}` as AccessToken;
- onClearToken(ot)
+ const oldToken = `secret-token:${form.old_token}` as AccessToken;
+ onClearToken(oldToken)
} else {
onClearToken(undefined)
}
diff --git a/packages/auditor-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx b/packages/auditor-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx
index 434d69412..bfa2a883e 100644
--- a/packages/auditor-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx
+++ b/packages/auditor-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx
@@ -120,7 +120,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode {
<p>
The text below support <a target="_blank" rel="noreferrer" href="https://mustache.github.io/mustache.5.html">mustache</a> template engine. Any string
between <pre style={{ display: "inline", padding: 0 }}>&#123;&#123;</pre> and <pre style={{ display: "inline", padding: 0 }}>&#125;&#125;</pre> will
- be replaced with replaced with the value of the correspoding variable.
+ be replaced with replaced with the value of the corresponding variable.
</p>
<p>
For example <pre style={{ display: "inline", padding: 0 }}>&#123;&#123;contract_terms.amount&#125;&#125;</pre> will be replaced