aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-03-28 22:45:56 -0700
committerAdam Soltys <[email protected]>2023-03-28 22:45:56 -0700
commit6791f60a0cd06d5c24864f1353366ba6c993e9d6 (patch)
tree2d962032f97dd9def3f77a31e4786e6c37e70f55 /src/routes/(app)/send
parentca205d1963ef1563a5202860926eca061cb787c5 (diff)
downloadcoinos-ui-6791f60a0cd06d5c24864f1353366ba6c993e9d6.tar.gz
coinos-ui-6791f60a0cd06d5c24864f1353366ba6c993e9d6.zip
prettier
Diffstat (limited to 'src/routes/(app)/send')
-rw-r--r--src/routes/(app)/send/invoice/[id]/+page.server.js2
-rw-r--r--src/routes/(app)/send/invoice/[id]/+page.svelte4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/send/invoice/[id]/+page.server.js b/src/routes/(app)/send/invoice/[id]/+page.server.js
index 50e72d94..4cbbb03f 100644
--- a/src/routes/(app)/send/invoice/[id]/+page.server.js
+++ b/src/routes/(app)/send/invoice/[id]/+page.server.js
@@ -7,7 +7,7 @@ export async function load({ params: { id }, parent, url }) {
let {
amount,
address,
- currency,
+ currency,
hash,
rate,
prompt,
diff --git a/src/routes/(app)/send/invoice/[id]/+page.svelte b/src/routes/(app)/send/invoice/[id]/+page.svelte
index d2471891..befbf019 100644
--- a/src/routes/(app)/send/invoice/[id]/+page.svelte
+++ b/src/routes/(app)/send/invoice/[id]/+page.svelte
@@ -10,7 +10,7 @@
export let form;
let { address, rate, payreq, recipient, tip, rates, user } = data;
- let { currency } = user;
+ let { currency } = user;
let amount = form?.amount || data.amount;
let a,
@@ -26,7 +26,7 @@
let loading;
let submit = () => (loading = true);
- $: rate = data.rate * (rates[user.currency] / rates[data.currency]);
+ $: rate = data.rate * (rates[user.currency] / rates[data.currency]);
$: update(form);
let update = () => {