diff options
| author | Adam Soltys <[email protected]> | 2023-02-01 10:04:29 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-01 10:04:29 -0800 |
| commit | c26727b1bab7398f94520fa10a502957c99fcab7 (patch) | |
| tree | e822737fdda40b66da8653b65203ccfc5397e877 /src/routes/(app)/payment | |
| parent | 4514e5cf43069c552fed9f5f975d08664ca0d3b9 (diff) | |
| parent | 5085ef51412bc4d1e18bdabf29cd9fe3f7183e1c (diff) | |
| download | coinos-ui-c26727b1bab7398f94520fa10a502957c99fcab7.tar.gz coinos-ui-c26727b1bab7398f94520fa10a502957c99fcab7.zip | |
Merge branch 'master' into staging
Diffstat (limited to 'src/routes/(app)/payment')
| -rw-r--r-- | src/routes/(app)/payment/[id]/+page.svelte | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/routes/(app)/payment/[id]/+page.svelte b/src/routes/(app)/payment/[id]/+page.svelte index 9eefda2b..a961d14d 100644 --- a/src/routes/(app)/payment/[id]/+page.svelte +++ b/src/routes/(app)/payment/[id]/+page.svelte @@ -8,7 +8,7 @@ export let data; let { user, tx } = data; let { username } = user; - let { id, amount, hash, created, rate, type, ref, fee, currency } = tx; + let { id, amount, created, rate, type, ref, fee, currency } = tx; fee = fee || 0; let fiat = (Math.abs(amount) * rate) / sats; @@ -51,7 +51,9 @@ <div class="font-bold">{$t('payments.id')}</div> <div class="flex"> <div> - <a href={`${expl}/tx/${id}`} target="_blank" rel="noreferrer" class="text-blue-600">{id}</a> + <a href={`${expl}/tx/${id}`} target="_blank" rel="noreferrer" class="text-blue-600" + >{id}</a + > </div> <button class="flex font-bold hover:opacity-80 mb-auto" on:click={() => copy(id)} ><Icon icon="copy" style="mr-1" /> |
