Fix: Remove unused StockItem interface to pass strict TypeScript build

This commit is contained in:
Quintine committed 2026-05-20 14:55:43 +10:00
1 parent 7b9c654fb1
commit 36319652ad
1 file changed
-13
-13
View File
@@ -1,18 +1,5 @@
import { Icons } from './Icons';
interface StockItem {
id: number;
name: string;
category: string;
price: number;
unit: string;
available: boolean;
description: string;
bulk1Threshold: number;
bulk1Price: number;
bulk2Threshold: number;
bulk2Price: number;
}
function StockCard({ item, onAdd, disabled }: { item: any, onAdd?: () => void, disabled?: boolean }) {
const hasTier1 = item.bulk1Threshold > 0 && item.bulk1Price > 0;