aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-10-17 11:10:54 -0300
committerSebastian <sebasjm@gmail.com>2022-10-17 11:10:54 -0300
commit5e435ef343c367d27b7dcb235d87d9a828211cd4 (patch)
tree10a457d44505c032a2f53d8609632ff977fe4067 /packages/taler-wallet-webextension
parentfd3278f4c681fb60c6f791ab6fa066f9a524478a (diff)
better info for the p2p examples
Diffstat (limited to 'packages/taler-wallet-webextension')
-rw-r--r--packages/taler-wallet-webextension/src/cta/InvoicePay/stories.tsx4
-rw-r--r--packages/taler-wallet-webextension/src/cta/TransferCreate/views.tsx3
-rw-r--r--packages/taler-wallet-webextension/src/cta/TransferPickup/stories.tsx4
3 files changed, 8 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/InvoicePay/stories.tsx b/packages/taler-wallet-webextension/src/cta/InvoicePay/stories.tsx
index 5a8a51932..38eb2336a 100644
--- a/packages/taler-wallet-webextension/src/cta/InvoicePay/stories.tsx
+++ b/packages/taler-wallet-webextension/src/cta/InvoicePay/stories.tsx
@@ -33,10 +33,14 @@ export const Ready = createExample(ReadyView, {
value: 1,
fraction: 0,
},
+ summary: "some subject",
payStatus: {
status: PreparePayResultType.PaymentPossible,
amountEffective: "ARS:1",
} as PreparePayResult,
+ expiration: {
+ t_ms: new Date().getTime() + 1000 * 60 * 60,
+ },
accept: {},
cancel: {},
});
diff --git a/packages/taler-wallet-webextension/src/cta/TransferCreate/views.tsx b/packages/taler-wallet-webextension/src/cta/TransferCreate/views.tsx
index c6cff28ee..93ae343e9 100644
--- a/packages/taler-wallet-webextension/src/cta/TransferCreate/views.tsx
+++ b/packages/taler-wallet-webextension/src/cta/TransferCreate/views.tsx
@@ -87,9 +87,6 @@ export function ReadyView({
/>
</section>
<section>
- <p>
- <i18n.Translate>How do you want to transfer?</i18n.Translate>
- </p>
<Button
disabled={invalid}
onClick={create.onClick}
diff --git a/packages/taler-wallet-webextension/src/cta/TransferPickup/stories.tsx b/packages/taler-wallet-webextension/src/cta/TransferPickup/stories.tsx
index 425d7de36..23cfe7525 100644
--- a/packages/taler-wallet-webextension/src/cta/TransferPickup/stories.tsx
+++ b/packages/taler-wallet-webextension/src/cta/TransferPickup/stories.tsx
@@ -32,6 +32,10 @@ export const Ready = createExample(ReadyView, {
value: 1,
fraction: 0,
},
+ summary: "some subject",
+ expiration: {
+ t_ms: new Date().getTime() + 1000 * 60 * 60,
+ },
accept: {},
cancel: {},
});