aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-11-01 11:34:20 +0100
committerFlorian Dold <florian@dold.me>2022-11-01 11:41:28 +0100
commitdab739a63e032fcf26674dc1bf56533b00c45b6b (patch)
tree06a5bdadc34ebefb324d867a65bc803952870227 /packages/taler-wallet-webextension
parent2f6225f6e7cb70f1fd083a5b26143f5c8c2776c5 (diff)
wallet-core: use PeerContractTerms
Diffstat (limited to 'packages/taler-wallet-webextension')
-rw-r--r--packages/taler-wallet-webextension/src/cta/Payment/stories.tsx3
-rw-r--r--packages/taler-wallet-webextension/src/cta/Payment/views.tsx5
2 files changed, 2 insertions, 6 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Payment/stories.tsx b/packages/taler-wallet-webextension/src/cta/Payment/stories.tsx
index c499dc285..7d5a7694e 100644
--- a/packages/taler-wallet-webextension/src/cta/Payment/stories.tsx
+++ b/packages/taler-wallet-webextension/src/cta/Payment/stories.tsx
@@ -21,8 +21,7 @@
import {
Amounts,
- ConfirmPayResultType,
- ContractTerms,
+ MerchantContractTerms as ContractTerms,
PreparePayResultType,
} from "@gnu-taler/taler-util";
import merchantIcon from "../../../static-dev/merchant-icon.jpeg";
diff --git a/packages/taler-wallet-webextension/src/cta/Payment/views.tsx b/packages/taler-wallet-webextension/src/cta/Payment/views.tsx
index 7646e4bf1..d9b6eaa02 100644
--- a/packages/taler-wallet-webextension/src/cta/Payment/views.tsx
+++ b/packages/taler-wallet-webextension/src/cta/Payment/views.tsx
@@ -18,17 +18,14 @@ import {
AbsoluteTime,
AmountJson,
Amounts,
- ConfirmPayResultType,
- ContractTerms,
+ MerchantContractTerms as ContractTerms,
PreparePayResult,
- PreparePayResultPaymentPossible,
PreparePayResultType,
Product,
} from "@gnu-taler/taler-util";
import { Fragment, h, VNode } from "preact";
import { useState } from "preact/hooks";
import { Amount } from "../../components/Amount.js";
-import { ErrorTalerOperation } from "../../components/ErrorTalerOperation.js";
import { LoadingError } from "../../components/LoadingError.js";
import { LogoHeader } from "../../components/LogoHeader.js";
import { Part } from "../../components/Part.js";