From 36319652ade18cc0a91d3253e27aa0fe3a94ee05 Mon Sep 17 00:00:00 2001 From: Quintine Date: Wed, 20 May 2026 14:55:43 +1000 Subject: [PATCH] Fix: Remove unused StockItem interface to pass strict TypeScript build --- frontend/src/components/CustomerView.tsx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/frontend/src/components/CustomerView.tsx b/frontend/src/components/CustomerView.tsx index 58f4711..3d2a0d5 100644 --- a/frontend/src/components/CustomerView.tsx +++ b/frontend/src/components/CustomerView.tsx @@ -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;