From a324ba367a75fc790f9456e479e7bbf22abe00aa Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 24 Jan 2024 17:48:00 -0300 Subject: fixes #8265 --- packages/auditor-backoffice-ui/src/Application.tsx | 2 +- .../src/paths/instance/orders/create/CreatePage.tsx | 2 +- .../src/paths/instance/token/DetailPage.tsx | 12 ++++++------ .../src/paths/instance/webhooks/create/CreatePage.tsx | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'packages/auditor-backoffice-ui/src') 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 {
- + {!hasToken && { 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 {

The text below support mustache template engine. Any string between

{{
and
}}
will - be replaced with replaced with the value of the correspoding variable. + be replaced with replaced with the value of the corresponding variable.

For example

{{contract_terms.amount}}
will be replaced -- cgit v1.2.3