summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-04-22 19:11:45 +0200
committerFlorian Dold <florian@dold.me>2023-04-22 19:11:45 +0200
commit15a1b8d0966783033947588cdb27850fe6811405 (patch)
tree8c52ea289a217c15907ee74a50e490cb82a47c08 /packages/taler-wallet-webextension
parentda59c85d2da6541ba54578adb43db1e4bf12dafa (diff)
downloadwallet-core-15a1b8d0966783033947588cdb27850fe6811405.tar.gz
wallet-core-15a1b8d0966783033947588cdb27850fe6811405.tar.bz2
wallet-core-15a1b8d0966783033947588cdb27850fe6811405.zip
-fix type error
Diffstat (limited to 'packages/taler-wallet-webextension')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
index 5e0b0cbee..7f8db9066 100644
--- a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
@@ -27,6 +27,7 @@ import {
TalerProtocolTimestamp,
TransactionCommon,
TransactionDeposit,
+ TransactionMajorState,
TransactionPayment,
TransactionPeerPullCredit,
TransactionPeerPullDebit,
@@ -34,8 +35,6 @@ import {
TransactionPeerPushDebit,
TransactionRefresh,
TransactionRefund,
- TransactionState,
- TransactionSubstate,
TransactionTip,
TransactionType,
TransactionWithdrawal,
@@ -66,8 +65,9 @@ const commonTransaction = {
transactionId: "txn:deposit:12",
frozen: undefined as any as boolean, //deprecated
type: TransactionType.Deposit,
- txState: TransactionState.Unknown,
- txSubstate: TransactionSubstate.None,
+ txState: {
+ major: TransactionMajorState.Unknown,
+ },
} as TransactionCommon;
import merchantIcon from "../../static-dev/merchant-icon.jpeg";