modified escaner

This commit is contained in:
2025-10-27 18:17:53 -06:00
parent 0df9aba20b
commit 374ce02350
3 changed files with 11 additions and 9 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ export default function BarcodeScanner({ onScan }: BarcodeScannerProps) {
target: scannerRef.current,
constraints: {
width: 640,
height: 480,
height: 370,
facingMode: "environment",
},
},
@@ -114,4 +114,4 @@ export default function BarcodeScanner({ onScan }: BarcodeScannerProps) {
}}
/>
);
}
}