From 6610a0b9d7eb9fbec591f052c960f780732bf0e5 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 29 Aug 2022 13:23:22 -0300 Subject: add senderWire to the withdrawal group again, group payto to avoid duplication --- .../taler-wallet-webextension/src/wallet/Application.tsx | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'packages/taler-wallet-webextension/src/wallet/Application.tsx') diff --git a/packages/taler-wallet-webextension/src/wallet/Application.tsx b/packages/taler-wallet-webextension/src/wallet/Application.tsx index b39a7936b..caed45d33 100644 --- a/packages/taler-wallet-webextension/src/wallet/Application.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Application.tsx @@ -48,7 +48,6 @@ import { BackupPage } from "./BackupPage.js"; import { DepositPage } from "./DepositPage.js"; import { ExchangeAddPage } from "./ExchangeAddPage.js"; import { HistoryPage } from "./History.js"; -import { ManualWithdrawPage } from "./ManualWithdrawPage.js"; import { ProviderAddPage } from "./ProviderAddPage.js"; import { ProviderDetailPage } from "./ProviderDetailPage.js"; import { SettingsPage } from "./Settings.js"; @@ -60,8 +59,9 @@ import { DestinationSelectionGetCash, DestinationSelectionSendCash, } from "./DestinationSelection.js"; -import { Amounts } from "@gnu-taler/taler-util"; import { ExchangeSelectionPage } from "./ExchangeSelection/index.js"; +import { InvoicePage } from "./Invoice/index.js"; +import { SendPage } from "./Send/index.js"; export function Application(): VNode { const [globalNotification, setGlobalNotification] = useState< @@ -149,6 +149,12 @@ export function Application(): VNode { + redirectTo(Pages.balanceDeposit({ amount })) + } + goToWalletWalletSend={(amount: string) => + redirectTo(Pages.send({ amount })) + } /> - redirectTo(Pages.ctaWithdrawManual({ amount })) + redirectTo(Pages.invoice({ amount })) } /> + + +