diff options
author | Sebastian <sebasjm@gmail.com> | 2023-05-10 13:35:18 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-05-10 13:35:18 -0300 |
commit | f281803f1e555b8e8c1e76612b1f6b7128033cd6 (patch) | |
tree | a30f1863a5b5ea27c2e382bb0297e9b9e55de572 /packages/taler-wallet-webextension/src/wallet/History.stories.tsx | |
parent | 6308c7ea6ba195199ee413c6c485321a013a514a (diff) | |
download | wallet-core-f281803f1e555b8e8c1e76612b1f6b7128033cd6.tar.xz |
compile again after DD37 impl
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/History.stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/History.stories.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/History.stories.tsx b/packages/taler-wallet-webextension/src/wallet/History.stories.tsx index d27224a77..1c5ba61c3 100644 --- a/packages/taler-wallet-webextension/src/wallet/History.stories.tsx +++ b/packages/taler-wallet-webextension/src/wallet/History.stories.tsx @@ -26,6 +26,7 @@ import { TalerProtocolTimestamp, TransactionCommon, TransactionDeposit, + TransactionMajorState, TransactionPayment, TransactionPeerPullCredit, TransactionPeerPullDebit, @@ -52,6 +53,9 @@ const commonTransaction = (): TransactionCommon => amountRaw: "USD:10", amountEffective: "USD:9", pending: false, + txState: { + major: TransactionMajorState.Done, + }, timestamp: TalerProtocolTimestamp.fromSeconds( new Date().getTime() / 1000 - count++ * 60 * 60 * 7, ), @@ -237,7 +241,9 @@ export const OneTransactionPending = tests.createExample(TestedComponent, { transactions: [ { ...exampleData.withdraw, - pending: true, + txState: { + major: TransactionMajorState.Pending, + }, }, ], balances: [ |