diff options
author | Sebastian <sebasjm@gmail.com> | 2023-09-25 15:01:39 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-09-25 15:01:39 -0300 |
commit | 6024d0125eadbddf014a7bf32c4138957511f019 (patch) | |
tree | c9d5bcd5b55df5167755f02b2f4c33b1f88c3a99 | |
parent | ea0738ccd585445d7e2080d9009025dde9cf22c5 (diff) |
uri snake casev0.9.3-dev.25
-rw-r--r-- | packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx | 8 | ||||
-rw-r--r-- | packages/demobank-ui/src/pages/admin/Home.tsx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx b/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx index af6f7caee..5f5a6ce3b 100644 --- a/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx +++ b/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx @@ -115,20 +115,20 @@ export function PaytoWireTransferForm({ }); async function doSend() { - let paytoUri: string | undefined; + let payto_uri: string | undefined; if (rawPaytoInput) { - paytoUri = rawPaytoInput + payto_uri = rawPaytoInput } else { if (!iban || !subject) return; const ibanPayto = buildPayto("iban", iban, undefined); ibanPayto.params.message = encodeURIComponent(subject); - paytoUri = stringifyPaytoUri(ibanPayto); + payto_uri = stringifyPaytoUri(ibanPayto); } try { await createTransaction({ - paytoUri, + payto_uri, amount: `${limit.currency}:${amount}`, }); onSuccess(); diff --git a/packages/demobank-ui/src/pages/admin/Home.tsx b/packages/demobank-ui/src/pages/admin/Home.tsx index 725820ada..ffa559097 100644 --- a/packages/demobank-ui/src/pages/admin/Home.tsx +++ b/packages/demobank-ui/src/pages/admin/Home.tsx @@ -136,7 +136,7 @@ export function AdminHome({ onRegister }: Props): VNode { }} account={undefined} onAction={(type, account) => setAction({ account, type })} - onRegister={onRegister} + /> <AdminAccount onRegister={onRegister} /> |