From a5f052d69c6457ad0289fdcb56398ea1fabedc2a Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 29 Aug 2022 11:32:07 -0300 Subject: using CTA for manual withdrawal --- packages/taler-wallet-webextension/src/NavigationBar.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'packages/taler-wallet-webextension/src/NavigationBar.tsx') diff --git a/packages/taler-wallet-webextension/src/NavigationBar.tsx b/packages/taler-wallet-webextension/src/NavigationBar.tsx index 42a365f8c..4499bcdf8 100644 --- a/packages/taler-wallet-webextension/src/NavigationBar.tsx +++ b/packages/taler-wallet-webextension/src/NavigationBar.tsx @@ -85,9 +85,6 @@ export const Pages = { balanceHistory: pageDefinition<{ currency?: string }>( "/balance/history/:currency?", ), - balanceManualWithdraw: pageDefinition<{ amount?: string }>( - "/balance/manual-withdraw/:amount?", - ), balanceDeposit: pageDefinition<{ currency: string }>( "/balance/deposit/:currency", ), @@ -111,12 +108,18 @@ export const Pages = { "/settings/exchange/add/:currency?", ), + invoice: pageDefinition<{ amount?: string }>("/receive/invoice/:amount?"), + cta: pageDefinition<{ action: string }>("/cta/:action"), ctaPay: "/cta/pay", ctaRefund: "/cta/refund", ctaTips: "/cta/tip", ctaWithdraw: "/cta/withdraw", ctaDeposit: "/cta/deposit", + + ctaWithdrawManual: pageDefinition<{ amount?: string }>( + "/cta/manual-withdraw/:amount?", + ), }; export function PopupNavBar({ path = "" }: { path?: string }): VNode { -- cgit v1.2.3