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
commit380c93e5032e1ff757b78f623ad7b47ff235b6e7 (patch)
tree78b4a9c2faece8c55a0f70255fe692c51f1e7cda /src/components
parentb23590c0978edb6b4ea3484ada474568a9420ad3 (diff)
downloadcoinos-ui-380c93e5032e1ff757b78f623ad7b47ff235b6e7.tar.gz
coinos-ui-380c93e5032e1ff757b78f623ad7b47ff235b6e7.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
}