diff options
Diffstat (limited to 'packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx b/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx index d859b1cc7..07b011a00 100644 --- a/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx +++ b/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx @@ -48,7 +48,7 @@ export function PaytoWireTransferForm({ onSuccess: () => void; currency: string; }): VNode { - const backend = useBackendContext(); + // const backend = useBackendContext(); // const { pageState, pageStateSetter } = usePageContext(); // NOTE: used for go-back button? const [isRawPayto, setIsRawPayto] = useState(false); @@ -188,17 +188,7 @@ export function PaytoWireTransferForm({ paytoUri, amount: `${currency}:${amount}`, }); - // return await createTransactionCall( - // transactionData, - // backend.state, - // pageStateSetter, - // () => { - // setAmount(undefined); - // setIban(undefined); - // setSubject(undefined); - // }, - // i18n, - // ); + onSuccess(); }} /> <input |