Update CodeScanner.svelte
Removed quotes ("") from variable reference. I believe this is what is causing the test failure.
This commit is contained in:
parent
cdbcfd13c5
commit
92e091818b
|
@ -21,7 +21,7 @@
|
||||||
let cameraEnabled
|
let cameraEnabled
|
||||||
let cameraStarted = false
|
let cameraStarted = false
|
||||||
let html5QrCode
|
let html5QrCode
|
||||||
let cameraSetting = { facingMode: "{preferredCamera}" }
|
let cameraSetting = { facingMode: {preferredCamera} }
|
||||||
let cameraConfig = {
|
let cameraConfig = {
|
||||||
fps: 25,
|
fps: 25,
|
||||||
qrbox: { width: 250, height: 250 },
|
qrbox: { width: 250, height: 250 },
|
||||||
|
|
Loading…
Reference in New Issue