aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-09 23:37:13 -0800
committerAdam Soltys <[email protected]>2022-11-09 23:37:13 -0800
commitc01e1c12c3e1c231bd818c824ee9f246f707e304 (patch)
tree0b4fc4418e7a50c673076f166c97dfb8dd74317d /src
parent2a488257d0f1351e7b907303428b529deaa56497 (diff)
downloadcoinos-ui-c01e1c12c3e1c231bd818c824ee9f246f707e304.tar.gz
coinos-ui-c01e1c12c3e1c231bd818c824ee9f246f707e304.zip
no lg qr
Diffstat (limited to 'src')
-rw-r--r--src/routes/(app)/invoice/[id]/+layout.server.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/invoice/[id]/+layout.server.js b/src/routes/(app)/invoice/[id]/+layout.server.js
index dacc44e6..48d92a36 100644
--- a/src/routes/(app)/invoice/[id]/+layout.server.js
+++ b/src/routes/(app)/invoice/[id]/+layout.server.js
@@ -13,7 +13,7 @@ export async function load({ depends, params, url }) {
if (paid && !url.pathname.endsWith('paid')) throw redirect(307, `/invoice/${id}/paid`);
let sm = Qr.drawImg(invoice.text, { size: 300 });
- let lg = Qr.drawImg(invoice.text, { size: 1200 });
+ // let lg = Qr.drawImg(invoice.text, { size: 1200 });
- return { id, invoice, sm, lg };
+ return { id, invoice, sm, lg: sm };
}