summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-02-06 17:06:56 -0300
committerSebastian <sebasjm@gmail.com>2024-02-06 17:06:56 -0300
commit27e4ff3011527d9c0b7630dc7a4080f8fb817300 (patch)
treea56f906cc36065eaf1733ea97a4eccc690145094 /packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
parentf91319e404ecfebfbc343175dd0bb73ab10eb4c0 (diff)
downloadwallet-core-27e4ff3011527d9c0b7630dc7a4080f8fb817300.tar.gz
wallet-core-27e4ff3011527d9c0b7630dc7a4080f8fb817300.tar.bz2
wallet-core-27e4ff3011527d9c0b7630dc7a4080f8fb817300.zip
fixes #8336 remove rewards
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx34
1 files changed, 1 insertions, 33 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
index c17d15b01..194f0e0bb 100644
--- a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
@@ -38,11 +38,10 @@ import {
TransactionPeerPushDebit,
TransactionRefresh,
TransactionRefund,
- TransactionReward,
TransactionType,
TransactionWithdrawal,
WithdrawalDetails,
- WithdrawalType,
+ WithdrawalType
} from "@gnu-taler/taler-util";
import * as tests from "@gnu-taler/web-util/testing";
import beer from "../../static-dev/beer.png";
@@ -137,17 +136,6 @@ const exampleData = {
exchangeBaseUrl: "http://exchange.taler",
refreshReason: RefreshReason.Manual,
} as TransactionRefresh,
- tip: {
- ...commonTransaction,
- type: TransactionType.Reward,
- // merchant: {
- // name: "the merchant",
- // logo: merchantIcon,
- // website: "https://www.themerchant.taler",
- // email: "contact@merchant.taler",
- // },
- merchantBaseUrl: "http://merchant.taler",
- } as TransactionReward,
refund: {
...commonTransaction,
type: TransactionType.Refund,
@@ -584,26 +572,6 @@ export const RefreshError = tests.createExample(TestedComponent, {
},
});
-export const Tip = tests.createExample(TestedComponent, {
- transaction: exampleData.tip,
-});
-
-export const TipError = tests.createExample(TestedComponent, {
- transaction: {
- ...exampleData.tip,
- error: transactionError,
- },
-});
-
-export const TipPending = tests.createExample(TestedComponent, {
- transaction: {
- ...exampleData.tip,
- txState: {
- major: TransactionMajorState.Pending,
- },
- },
-});
-
export const Refund = tests.createExample(TestedComponent, {
transaction: exampleData.refund,
});