aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/Application.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-09-16 16:04:41 -0300
committerSebastian <sebasjm@gmail.com>2022-09-16 16:04:41 -0300
commite14310825437c5de93c07c570639d2a09fc4826b (patch)
tree6d63ed9d62bdb21fdbf41e8c5d30fcc08bb9326f /packages/taler-wallet-webextension/src/wallet/Application.tsx
parent59d235e8d29159bc8caccf8bee6a2bca8b0b90dc (diff)
downloadwallet-core-e14310825437c5de93c07c570639d2a09fc4826b.tar.xz
pretty
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Application.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/Application.tsx40
1 files changed, 30 insertions, 10 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Application.tsx b/packages/taler-wallet-webextension/src/wallet/Application.tsx
index d2cbf440f..1ff29726b 100644
--- a/packages/taler-wallet-webextension/src/wallet/Application.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Application.tsx
@@ -249,49 +249,65 @@ export function Application(): VNode {
redirectTo(Pages.ctaWithdrawManual({ amount }))
}
cancel={() => redirectTo(Pages.balance)}
- onSuccess={(tid:string) => redirectTo(Pages.balanceTransaction({ tid }))}
+ onSuccess={(tid: string) =>
+ redirectTo(Pages.balanceTransaction({ tid }))
+ }
/>
<Route
path={Pages.ctaRefund}
component={RefundPage}
cancel={() => redirectTo(Pages.balance)}
- onSuccess={(tid:string) => redirectTo(Pages.balanceTransaction({ tid }))}
+ onSuccess={(tid: string) =>
+ redirectTo(Pages.balanceTransaction({ tid }))
+ }
/>
<Route
path={Pages.ctaTips}
component={TipPage}
onCancel={() => redirectTo(Pages.balance)}
- onSuccess={(tid:string) => redirectTo(Pages.balanceTransaction({ tid }))}
+ onSuccess={(tid: string) =>
+ redirectTo(Pages.balanceTransaction({ tid }))
+ }
/>
<Route
path={Pages.ctaWithdraw}
component={WithdrawPageFromURI}
cancel={() => redirectTo(Pages.balance)}
- onSuccess={(tid:string) => redirectTo(Pages.balanceTransaction({ tid }))}
+ onSuccess={(tid: string) =>
+ redirectTo(Pages.balanceTransaction({ tid }))
+ }
/>
<Route
path={Pages.ctaWithdrawManual.pattern}
component={WithdrawPageFromParams}
cancel={() => redirectTo(Pages.balance)}
- onSuccess={(tid:string) => redirectTo(Pages.balanceTransaction({ tid }))}
+ onSuccess={(tid: string) =>
+ redirectTo(Pages.balanceTransaction({ tid }))
+ }
/>
<Route
path={Pages.ctaDeposit}
component={DepositPageCTA}
cancel={() => redirectTo(Pages.balance)}
- onSuccess={(tid:string) => redirectTo(Pages.balanceTransaction({ tid }))}
+ onSuccess={(tid: string) =>
+ redirectTo(Pages.balanceTransaction({ tid }))
+ }
/>
<Route
path={Pages.ctaInvoiceCreate.pattern}
component={InvoiceCreatePage}
onClose={() => redirectTo(Pages.balance)}
- onSuccess={(tid:string) => redirectTo(Pages.balanceTransaction({ tid }))}
+ onSuccess={(tid: string) =>
+ redirectTo(Pages.balanceTransaction({ tid }))
+ }
/>
<Route
path={Pages.ctaTransferCreate.pattern}
component={TransferCreatePage}
onClose={() => redirectTo(Pages.balance)}
- onSuccess={(tid:string) => redirectTo(Pages.balanceTransaction({ tid }))}
+ onSuccess={(tid: string) =>
+ redirectTo(Pages.balanceTransaction({ tid }))
+ }
/>
<Route
path={Pages.ctaInvoicePay}
@@ -300,13 +316,17 @@ export function Application(): VNode {
redirectTo(Pages.ctaWithdrawManual({ amount }))
}
onClose={() => redirectTo(Pages.balance)}
- onSuccess={(tid:string) => redirectTo(Pages.balanceTransaction({ tid }))}
+ onSuccess={(tid: string) =>
+ redirectTo(Pages.balanceTransaction({ tid }))
+ }
/>
<Route
path={Pages.ctaTransferPickup}
component={TransferPickupPage}
onClose={() => redirectTo(Pages.balance)}
- onSuccess={(tid:string) => redirectTo(Pages.balanceTransaction({ tid }))}
+ onSuccess={(tid: string) =>
+ redirectTo(Pages.balanceTransaction({ tid }))
+ }
/>
{/**