diff --git a/frontend/lib/db.ts b/frontend/lib/db.ts index add6a541..541dfa31 100644 --- a/frontend/lib/db.ts +++ b/frontend/lib/db.ts @@ -1,7 +1,7 @@ import Dexie, { Table } from 'dexie'; export interface Item { - id: number; + id?: number; barcode: string; name: string; category: string;