From 15a1b8d0966783033947588cdb27850fe6811405 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 22 Apr 2023 19:11:45 +0200 Subject: -fix type error --- .../taler-wallet-webextension/src/wallet/Transaction.stories.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/taler-wallet-webextension/src/wallet') 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"; -- cgit v1.2.3