Update CodeScanner.svelte

Updated the code as suggested. Thanks!
This commit is contained in:
Duarte Velez Grilo 2023-10-20 12:46:43 +01:00 committed by GitHub
parent a37ceb6279
commit 34a752dd41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
let cameraEnabled
let cameraStarted = false
let html5QrCode
let cameraSetting = { facingMode: {preferredCamera} }
let cameraSetting = { facingMode: preferredCamera }
let cameraConfig = {
fps: 25,
qrbox: { width: 250, height: 250 },