aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-12-03 17:01:39 -0800
committerAdam Soltys <[email protected]>2024-12-03 17:01:56 -0800
commit74279da0fe013b7292b260d890ce704a09b98b54 (patch)
treeec83094cfa729ce1a82848a7442b6272fd530308
parent7801ce67ace77f5de98ddc38d7b0b45c68faeb6b (diff)
downloadcoinos-ui-74279da0fe013b7292b260d890ce704a09b98b54.tar.gz
coinos-ui-74279da0fe013b7292b260d890ce704a09b98b54.zip
invoice text
-rw-r--r--src/routes/(app)/[username]/receive/+page.svelte5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/routes/(app)/[username]/receive/+page.svelte b/src/routes/(app)/[username]/receive/+page.svelte
index e8092c11..bcb9e4ff 100644
--- a/src/routes/(app)/[username]/receive/+page.svelte
+++ b/src/routes/(app)/[username]/receive/+page.svelte
@@ -28,7 +28,6 @@
let showOptions;
let { id, rates, subject, user, text } = $state(data);
- let { src } = $derived(data);
let locale = loc(user);
let { currency, username } = subject;
@@ -38,10 +37,11 @@
let qr;
let aid = subject.id;
- let invoice = $state({
+ let invoice = $derived({
aid,
type: types.lightning,
items: [],
+ text,
uid: subject.id,
user: subject,
});
@@ -109,7 +109,6 @@
<div class="invoice container mx-auto max-w-xl px-4 space-y-2">
<InvoiceData
- {src}
{locale}
{link}
{qr}