aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/History.stories.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-05-10 13:35:18 -0300
committerSebastian <sebasjm@gmail.com>2023-05-10 13:35:18 -0300
commitf281803f1e555b8e8c1e76612b1f6b7128033cd6 (patch)
treea30f1863a5b5ea27c2e382bb0297e9b9e55de572 /packages/taler-wallet-webextension/src/wallet/History.stories.tsx
parent6308c7ea6ba195199ee413c6c485321a013a514a (diff)
downloadwallet-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.tsx8
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: [