diff options
author | Sebastian <sebasjm@gmail.com> | 2022-03-29 00:25:33 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-03-29 00:25:33 -0300 |
commit | 47f51ced7f6180fcb6a7cf2f543cbb7782383fab (patch) | |
tree | eb2f8095bfd04116bb8dee049f91810c89e3ac22 /packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx | |
parent | f1110e82de67d9b02550a6e42bed8a59346f0d0b (diff) | |
download | wallet-core-47f51ced7f6180fcb6a7cf2f543cbb7782383fab.tar.xz |
import image as datauri, some eslint fixes
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx index f81487c86..b4dfb6ce0 100644 --- a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx @@ -32,7 +32,6 @@ import { TransactionWithdrawal, WithdrawalType, } from "@gnu-taler/taler-util"; -import { ComponentChildren, h } from "preact"; import { DevContextProviderForTesting } from "../context/devContext.js"; import { createExample, @@ -239,6 +238,8 @@ export const PaymentPending = createExample(TestedComponent, { transaction: { ...exampleData.payment, pending: true }, }); +import beer from "../../static-dev/beer.png"; + export const PaymentWithProducts = createExample(TestedComponent, { transaction: { ...exampleData.payment, @@ -263,11 +264,13 @@ export const PaymentWithProducts = createExample(TestedComponent, { description: "beer", unit: "pint", quantity: 15, + image: beer, }, { description: "beer", unit: "pint", quantity: 15, + image: beer, }, ], }, |