aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-08-31 22:26:22 -0700
committerAdam Soltys <[email protected]>2022-08-31 22:26:22 -0700
commit2715abf1a4b556c1fa039199cb8cf7ae130d8a49 (patch)
treef94dac1de56d54c5fde372a08d82cfcf8afea706 /src/components
parent1fec31c135772f9658d2d2061c867f14f6a15f84 (diff)
downloadcoinos-ui-2715abf1a4b556c1fa039199cb8cf7ae130d8a49.tar.gz
coinos-ui-2715abf1a4b556c1fa039199cb8cf7ae130d8a49.zip
use qr component on invoice page
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Qr.svelte6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Qr.svelte b/src/components/Qr.svelte
index b435f1ff..69362a28 100644
--- a/src/components/Qr.svelte
+++ b/src/components/Qr.svelte
@@ -3,9 +3,7 @@
import { onMount } from 'svelte';
import { copy } from '$lib/utils';
- export let image, text;
-
- let qr;
+ export let image, text, qr;
onMount(async () => {
if (!(browser && text)) return;
@@ -21,6 +19,8 @@
dotsOptions: {
type: 'rounded'
},
+
+ image,
imageOptions: {
hideBackgroundDots: false
}