From e87073d42a2f51405d1a1f6be27cb378b552dcdf Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 11 Jan 2023 15:26:07 -0300 Subject: add kyc warning --- .../src/wallet/Transaction.tsx | 35 +++++++++++++++++----- 1 file changed, 28 insertions(+), 7 deletions(-) (limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.tsx') diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx index f22f3b4ee..c6fa9ec68 100644 --- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx @@ -44,7 +44,7 @@ import emptyImg from "../../static/img/empty.png"; import { Amount } from "../components/Amount.js"; import { BankDetailsByPaytoType } from "../components/BankDetailsByPaytoType.js"; import { CopyButton } from "../components/CopyButton.js"; -import { ErrorAlertView } from "../components/CurrentAlerts.js"; +import { AlertView, ErrorAlertView } from "../components/CurrentAlerts.js"; import { Loading } from "../components/Loading.js"; import { Kind, Part, PartCollapsible, PartPayto } from "../components/Part.js"; import { QR } from "../components/QR.js"; @@ -199,12 +199,33 @@ export function TransactionView({
{transaction?.error ? ( - + transaction.error.code === 7025 ? ( + + + Follow this link to the{` `} + KYC verifier + + + ) : ( + i18n.str`No more information has been provided` + ), + }} + /> + ) : ( + + ) ) : undefined} {transaction.pending && ( -- cgit v1.2.3