better info for the p2p examples

This commit is contained in:
Sebastian 2022-10-17 11:10:54 -03:00
parent fd3278f4c6
commit 5e435ef343
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
3 changed files with 8 additions and 3 deletions

View File

@ -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: {},
});

View File

@ -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}

View File

@ -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: {},
});