aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/scan
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-10-28 00:30:19 -0700
committerAdam Soltys <[email protected]>2022-10-28 00:30:19 -0700
commit42bd7b986fcfde42994315c77cbba6f035c25fa1 (patch)
tree7cf5723aec62c8ef62e1ad443af9a6c36a69a6bf /src/routes/scan
parentdfd94014fb744dd67fef15f71980dcda20cef7eb (diff)
downloadcoinos-ui-42bd7b986fcfde42994315c77cbba6f035c25fa1.tar.gz
coinos-ui-42bd7b986fcfde42994315c77cbba6f035c25fa1.zip
fix qr scan
Diffstat (limited to 'src/routes/scan')
-rw-r--r--src/routes/scan/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/scan/+page.svelte b/src/routes/scan/+page.svelte
index 392a67ad..79dbe7b0 100644
--- a/src/routes/scan/+page.svelte
+++ b/src/routes/scan/+page.svelte
@@ -7,7 +7,7 @@
let scanner, vid;
onMount(() => {
- scanner = new QrScanner(vid, (text) => goto(`/send/${text}`) && console.log(text), {
+ scanner = new QrScanner(vid, ({ data }) => goto(`/send/${data}`), {
highlightScanRegion: true,
highlightCodeOutline: true
});