diff options
| author | Adam Soltys <[email protected]> | 2023-12-29 23:12:05 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-29 23:12:05 -0800 |
| commit | a8fdbec965b1e5c8741e7b6011820f8d640a9b80 (patch) | |
| tree | 7dc6e3b5de242e1c7641e8a3766dc0374f2c0a53 /src/routes/(app)/send | |
| parent | fae074a054b1a5ba923ab7c2da173734bfa6a6a0 (diff) | |
| download | coinos-ui-a8fdbec965b1e5c8741e7b6011820f8d640a9b80.tar.gz coinos-ui-a8fdbec965b1e5c8741e7b6011820f8d640a9b80.zip | |
get txid from payment hash
Diffstat (limited to 'src/routes/(app)/send')
3 files changed, 5 insertions, 3 deletions
diff --git a/src/routes/(app)/send/bitcoin/[address]/+page.svelte b/src/routes/(app)/send/bitcoin/[address]/+page.svelte index 976be5f6..bd54cf83 100644 --- a/src/routes/(app)/send/bitcoin/[address]/+page.svelte +++ b/src/routes/(app)/send/bitcoin/[address]/+page.svelte @@ -4,7 +4,7 @@ import Numpad from "$comp/Numpad.svelte"; import { page } from "$app/stores"; import { rate } from "$lib/store"; - import { back, s } from "$lib/utils"; + import { back, fail, s } from "$lib/utils"; export let data; @@ -49,6 +49,7 @@ <form action={`/send/bitcoin/${address}/${amount}`}> <button + use:focus bind:this={submit} type="submit" class="opacity-100 hover:opacity-80 rounded-2xl border py-3 font-bold mt-2 bg-black text-white px-4 w-24" diff --git a/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte b/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte index a5811e3c..84506e6b 100644 --- a/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte +++ b/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte @@ -5,7 +5,7 @@ import Icon from "$comp/Icon.svelte"; import Spinner from "$comp/Spinner.svelte"; import { page } from "$app/stores"; - import { fiat as toFiat, f, s, sat, closest } from "$lib/utils"; + import { fiat as toFiat, f, focus, s, sat, closest } from "$lib/utils"; import { pin } from "$lib/store"; import { goto, invalidate } from "$app/navigation"; import { rate } from "$lib/store"; @@ -122,6 +122,7 @@ <div class="flex justify-center gap-2"> <button + use:focus bind:this={submit} type="submit" class="opacity-100 hover:opacity-80 rounded-2xl border py-3 font-bold mt-2 bg-black text-white px-4 w-24" diff --git a/src/routes/(app)/send/invoice/[id]/+page.svelte b/src/routes/(app)/send/invoice/[id]/+page.svelte index 6970d74b..c2163a81 100644 --- a/src/routes/(app)/send/invoice/[id]/+page.svelte +++ b/src/routes/(app)/send/invoice/[id]/+page.svelte @@ -1,4 +1,4 @@ - <script> +<script> import { onDestroy, onMount } from "svelte"; import { t } from "$lib/translations"; import { goto, invalidateAll } from "$app/navigation"; |
