diff options
author | Sebastian <sebasjm@gmail.com> | 2022-08-29 13:23:22 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-08-29 13:23:22 -0300 |
commit | 6610a0b9d7eb9fbec591f052c960f780732bf0e5 (patch) | |
tree | 8509c40bf1682d43bc8324d498cc22a15c81c3eb /packages/taler-wallet-webextension/src/wallet/Application.tsx | |
parent | a5f052d69c6457ad0289fdcb56398ea1fabedc2a (diff) | |
download | wallet-core-6610a0b9d7eb9fbec591f052c960f780732bf0e5.tar.xz |
add senderWire to the withdrawal group again, group payto to avoid duplication
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Application.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Application.tsx | 15 |
1 files changed, 12 insertions, 3 deletions
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 { <Route path={Pages.sendCash.pattern} component={DestinationSelectionSendCash} + goToWalletBankDeposit={(amount: string) => + redirectTo(Pages.balanceDeposit({ amount })) + } + goToWalletWalletSend={(amount: string) => + redirectTo(Pages.send({ amount })) + } /> <Route path={Pages.receiveCash.pattern} @@ -157,9 +163,12 @@ export function Application(): VNode { redirectTo(Pages.ctaWithdrawManual({ amount })) } goToWalletWalletInvoice={(amount?: string) => - redirectTo(Pages.ctaWithdrawManual({ amount })) + redirectTo(Pages.invoice({ amount })) } /> + <Route path={Pages.invoice.pattern} component={InvoicePage} /> + <Route path={Pages.send.pattern} component={SendPage} /> + <Route path={Pages.balanceTransaction.pattern} component={TransactionPage} |