fixing types

This commit is contained in:
2025-07-23 13:40:14 +02:00
parent 46730aa249
commit 491b11e86d
2 changed files with 6 additions and 5 deletions

View File

@@ -60,6 +60,7 @@ export const BillEditForm:FC<BillEditFormProps> = ({ location, bill }) => {
setBarcodeResults(null);
const results = await findDecodePdf417(event);
if(results && results.length > 0) {
if(results.length === 1) {