diff options
author | Sebastian <sebasjm@gmail.com> | 2023-06-05 10:04:24 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-06-05 10:04:24 -0300 |
commit | 16900104b57036ceb4eac61891d9ff5679b4737a (patch) | |
tree | 8cd8f52f3017d7c70064fd823e33d2c50c701373 /packages | |
parent | c680f5aa71b08e978444df07f93c381f9d47ab82 (diff) | |
download | wallet-core-16900104b57036ceb4eac61891d9ff5679b4737a.tar.xz |
kyc url
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx index c2bceb067..046757ab0 100644 --- a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx @@ -29,6 +29,7 @@ import { TransactionDeposit, TransactionIdStr, TransactionMajorState, + TransactionMinorState, TransactionPayment, TransactionPeerPullCredit, TransactionPeerPullDebit, @@ -169,6 +170,7 @@ const exampleData = { summary: "take this money", completed: true, }, + kycUrl: undefined, exchangeBaseUrl: "https://exchange.taler.net", } as TransactionPeerPushCredit, push_debit: { @@ -197,6 +199,7 @@ const exampleData = { summary: "pay me, please?", completed: true, }, + kycUrl: undefined, exchangeBaseUrl: "https://exchange.taler.net", } as TransactionPeerPullCredit, pull_debit: { @@ -278,7 +281,12 @@ export const WithdrawError = tests.createExample(TestedComponent, { export const WithdrawErrorKYC = tests.createExample(TestedComponent, { transaction: { ...exampleData.withdraw, - error: kycError, + txState: { + major: TransactionMajorState.Pending, + minor: TransactionMinorState.KycRequired, + }, + + // error: kycError, }, }); // export const WithdrawErrorInDevMode = tests.createExampleInCustomContext( |