gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: -fix build issues


From: gnunet
Subject: [taler-docs] branch master updated: -fix build issues
Date: Thu, 07 Mar 2024 10:01:32 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 570cd03a -fix build issues
570cd03a is described below

commit 570cd03a8a39605fe667067cc0b84701e441c680
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Mar 7 10:01:29 2024 +0100

    -fix build issues
---
 core/api-merchant.rst                 |  2 +-
 design-documents/054-dynamic-form.rst | 14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 00e4a7f6..a291d9cf 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -2789,7 +2789,7 @@ to validate that a customer made a payment.
       // ``otp_algorithm`` and matching client query arguments.
       //
       // Available since protocol **v10**.
-      otp_code?: String;
+      otp_code?: string;
 
    }
 
diff --git a/design-documents/054-dynamic-form.rst 
b/design-documents/054-dynamic-form.rst
index 6ff84d41..d93b3684 100644
--- a/design-documents/054-dynamic-form.rst
+++ b/design-documents/054-dynamic-form.rst
@@ -51,7 +51,7 @@ readOnly (flag to disable input), onUpdate (callback on form 
data update),
 and computeFormState (function to derive the form state based on current data).
 
 
-.. code-block:: javascript
+.. code-block:: typescript
 
   interface FormType<T extends object> {
     value: Partial<T>;
@@ -82,7 +82,7 @@ The field type ``AmountJson`` and ``AbsoluteTime`` are opaque 
since field is use
 
 The form can be instanciated using
 
-.. code-block:: javascript
+.. code-block:: typescript
 
   import { FormProvider } from "@gnu-taler/web-util/browser";
 
@@ -90,7 +90,7 @@ The form can be instanciated using
 Then the field component can access all the properties by the 
``useField(name)`` hook,
 which will return
 
-.. code-block:: javascript
+.. code-block:: typescript
 
   interface InputFieldHandler<Type> {
     value: Type;
@@ -116,10 +116,10 @@ A set of common form field exist in 
``@gnu-taler/web-util``:
 
 and should be used inside a ``Form`` context.
 
-.. code-block:: javascript
+.. code-block:: none
 
   function MyFormComponent():VNode {
-    return <FormProvider >
+    return <FormProvider>
       <InputAmount name="amount"  />
       <InputText   name="subject" />
       <button type="submit"> Confirm </button>
@@ -132,7 +132,7 @@ Example
 
 Consider a form shape represented by the TypeScript type:
 
-.. code-block:: javascript
+.. code-block:: typescript
 
   type TheFormType = {
     name: string,
@@ -148,7 +148,7 @@ Consider a form shape represented by the TypeScript type:
 
 An example instance of this form could be:
 
-.. code-block:: javascript
+.. code-block:: typescript
 
   const theFormValue: TheFormType = {
     name: "Sebastian",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]